cordova-plugin-streaming-media icon indicating copy to clipboard operation
cordova-plugin-streaming-media copied to clipboard

How to Play .m3u8 format

Open Waiyanmaing opened this issue 4 years ago • 4 comments

What version of Streaming-Meda-Cordova-Plugin are you using? version 2.3.0 What version of Cordova are you using? 10.0.0 What devices are affected? mi8SE Please describe the issue in detail, with relevant code samples when i play .m3u8 live channel link , application is auto exit. Here is sample code, function playchannel7() { var videoUrl = "http://104275ooyala-lh.akamaihd.net/i/forevergroup_03@449367/master.m3u8"; var options = { successCallback: function() { console.log("Video was closed without error."); }, errorCallback: function(errMsg) { console.log("Error! " + errMsg); }, orientation: 'landscape', shouldAutoClose: true, // true(default)/false controls: true // true(default)/false. Used to hide controls on fullscreen }; window.plugins.streamingMedia.playVideo(videoUrl, options); } What did you expect to happen?

What actually happened? when i alert error log , it showed 'Error! MediaPlayer Error:Unknown(1) -1004

Waiyanmaing avatar Aug 07 '20 09:08 Waiyanmaing

I have the same problem, I'm trying to play live video and the player auto closed.

Can anyone help?

Arthurferrera avatar Oct 09 '20 13:10 Arthurferrera

i have the same problem... anyone?

nicowxdvd avatar Jul 06 '21 17:07 nicowxdvd

i have the same problem , any solution ?

zaed-murad avatar Dec 28 '21 10:12 zaed-murad