I have problem with media.playVideo() to play remote source video .

media.playVideo( my_stream_video_url , media.RemoteSource, true )

When I play video in Android my app will show popup “Can’t play with video” but in iOS it’s play normally .
step2. 
I have played this URL in browser and choose play with default video player of my phone it’s work!!
It can play normally too.

Please help , Thank you

Welcome to the forums…

What version of Corona SDK are you using?

Can you post your code where you’re trying to play the video and any code where you’re initializing the variable with the URL in it? Please use code formatting (the blue <> button in the row with Bold, Italics, etc.) and paste your code in the popup window.

Thanks

Rob

media.playVideo( "http://playertest.longtailvideo.com/adaptive/oceans\_aes/oceans\_aes.m3u8" , media.RemoteSource, true )

my other local url for test = http://vod.payallclub.com:1998/payall/_definst_/stream/dev/paydream/intro/Intro_Main.mp4/playlist.m3u8

First of all a .m3u8 file is a text “playlist” file that has been UTF-8 encoded. You can use network.download() to fetch the file, use our File IO functions to open it, read it and make a table of videos to play and then pass the URL of the video to media.playVideo(). You can’t send a .m3u8 file directly to media.playVideo().

Also note, our video playing functions do not support streaming services. It must be a valid format that we support and it has to be a downloadable file. 

I looked through the playlist file for both URL’s you provided and the contents appears to be more playlists, not individual videos.

Rob

Welcome to the forums…

What version of Corona SDK are you using?

Can you post your code where you’re trying to play the video and any code where you’re initializing the variable with the URL in it? Please use code formatting (the blue <> button in the row with Bold, Italics, etc.) and paste your code in the popup window.

Thanks

Rob

media.playVideo( "http://playertest.longtailvideo.com/adaptive/oceans\_aes/oceans\_aes.m3u8" , media.RemoteSource, true )

my other local url for test = http://vod.payallclub.com:1998/payall/_definst_/stream/dev/paydream/intro/Intro_Main.mp4/playlist.m3u8

First of all a .m3u8 file is a text “playlist” file that has been UTF-8 encoded. You can use network.download() to fetch the file, use our File IO functions to open it, read it and make a table of videos to play and then pass the URL of the video to media.playVideo(). You can’t send a .m3u8 file directly to media.playVideo().

Also note, our video playing functions do not support streaming services. It must be a valid format that we support and it has to be a downloadable file. 

I looked through the playlist file for both URL’s you provided and the contents appears to be more playlists, not individual videos.

Rob