I am using AVPlayer for playing video url coming from server in TVOS SDK . For getting meta data of video I swipe down in video player screen . In metadata screen there are two buttons Info and Audio out of them click on Info button subtitles. After that clicking on Menu button of Apple TV remote I quit the player screen but audio is still playing in the background .
You should set the appropriate AVAudioSession for your application and stop all audio in your viewWillDisappear, viewDidDisappear, or applicationDidEnterBackground.
AVAudioSession Class Reference
Related
I am using HTML 5 light box popup for playing a video. i have been Calling video through web service from another website and stream into my player using html5-light-box popup using this method
html5Lightbox.showLightbox()
everything works fine but when viewed on mobile got to full screen video controls hide. when inspect element shown bottom of the video
Ok, I have on my joomla site a videogallery (Name: Apptha contus hd video share). The problem of this video gallery is that is not html5. So the videos of the gallery can not be played by mobile device. So I want to add a button at the bottom (available only for mobile device ) of the player that open the JW Player that must contain the same video information (Thumb url, Video url) of the player above him.
I know how to script the button, but my problem is how to change the JW Player code to get video and thumb information from the database. Any tips?
By default mobile devices does not support flash players and supports only HTML5 player. If you have flash player in your mobile, then it is possible to play the videos. Also HTML5 players does not support except .mp4 with H264 (HD) format videos. We can play embed videos like YouTube, Vimeo etc., So to replace the video share player with JW player, you need to customize the code. You need to replace the code with JW Player embed code in default_player.php in components/com_contushdvideoshare/views/player/tmpl/ path. You can find $this->htmlVideoDetails variable in that file. this will return the current video detail from database. You can pass the required detail from this array variable to JW Player embed code. Also make sure to place the HTML5 player code. So that it will work in mobile device too.
I am creating a cordova jquery mobile app. which play video in it. I have tried video tag but it is not showing the video only sound is played .
Now I want to open android video player to play my video url.
You can try this: FileOpener Plugin
Video tag have too much issue with different platform and version on Android, if you want to avoid that, Crosswalk is a good solution.
I'm trying to capture the video which is being played in windows media player(version 12) in windows 7. Bitblt method returns black screen for the video while all other windows(media controls, playlists etc.,) are captured successfully. So I browsed about this problem. One of the frequent answers is to disable video overlays in the player. I didn't find any overlay option available in the wmplayer. Also I unchecked
"Turn on DirectX video acceleration for wmv files"
option. Then also, I'm getting black screen only. Is there any way to capture the video content in wmplayer in windows7 ?
Won't happen. Try through DirectX hooking.
Not sure know how to create this, I did test some html5 examples.
I was able to sit an audio player in a frame and add an external button that when
clicked triggered the player to start and audio sample, but I don't know how to do this with multiple audio samples and play button for each sample.
I have a joomla portal with addfullajax installed
It's loading articles with ajax,
Above the articles is a frame called drawer (im using gantry framework)
I placed the code for a html5 audio player up in the drawer position in joomla.
Then i put some code for the button into the 1st article that starts the audio player up in the drawer position.
What i'm trying to do is have several articles, each article should have an audio play button,
When you browse to a different article you click play and the player up in the drawer position will play that audio file or sample.
When you browse to a different article, it will have another play button,
When clicked it will start a different audio sample in the same player.
Can someone please show me how to create a nice player.
Thanks