Is it possible to add track title to "Now Playing Controls" menu as Music app or ITunesU do? - objective-c

I'm, creating a player app. I've implemented 'remoteControlReceivedWithEvent:' method and could change playing state by this buttons (apple guide). But when something playing from 'Music' or 'iTunes U' apps, than there are a song title appear under remote controls.
Is there any way to show there my own text from my player app?
Thanks in advance.

Yes, it's done through the MPNowPlayingInfoCenter

Related

How to create background music in react native

I have seen a lot of tutorials on creating music which can be activated with a button but not on creating background music without a button. Is it possible to create background music which play throughout the app?
I use this link for https://www.youtube.com/watch?v=MpQ1sVku-D0&t=482s to make background music in the page where it is connected to all the route in my app. If yours is local file, go to https://www.youtube.com/watch?v=MpQ1sVku-D0&t=482s and just change the audioclips based on video.(The coding is the same other than it uses url).
This is part of the code to play without using button that need to modify since video mention button.
Hope this helps!

how add music player for android in notification bar?

I write a music player, and there is a need to hang a widget player in notification bar. how it can be implemented ? can be an example?
P.S. Sorry for my english
Try this: How to create a notification similar to Play Music app from Google
If you read through the notification docs, you'll see you can make it persistent and set a custom layout.

find out fullscreen button in youtube embedded player programatically

I wanted to know that is there any way to find out programatically the fullscreen button that is added on the youtube embedded player so that I can call an action on its touchupInsideEvent.
Please help.
Thanks in advance.
Shruti
In general, it's not possible to intercept events like that into the flash player, unless the SWF has some sort of an API for that purpose.
A different way to approach the problem is to use the YouTube "chromeless" player. It's basically an embedded player with no user interface elements. You provide the controls, which can command the player via the Javascript interface. You can intercept a user request for maximize that way.
There's even a question on Stack Overflow that concerns with fullscreen functionality for Chromeless players.

Choose Music from iPhone app? - iPhone SDK

Can anyone give me a head starters on this question. How would I be able to make an app that searches through your music contents that are already synced on your phone and play them. I don't want to do a scroll view, where the user just presses on the options. Instead I want the user to type the song name and if the song is found it will play it.
thanks,
kevin
The class you are looking for is MPMusicPlayerController. It's only available in iPhone 3.0 and above.
Get the instance for your app ([MPMusicPlayerController applicationMusicPlayer]) rather than the iPod instance. You can use this to play the songs once you've located them.
In order to do your own search rather than presenting the typical interface check out MPMediaQuery.
I found this article helpful. It's mostly about iPod player integration, but it touches on these other topics too.

Objective-C iPhone - Playing youtube within an app

Is it possible to play youtube using the method described in this url
http://iphoneincubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application
but with a custom button? (i.e in the picture in the link, it's of a baseball game with the play button overlay on top, I want that to be a custom button that I create)
Thank you,
Tee
No, the way that you play YouTube videos is by opening it in the mobile site, which takes you to the embedded QuickTime/YouTube viewer. It doesn't play them in the view of your app like the QTView would on a Mac.