Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Play .m3u8 format #217

Open
Waiyanmaing opened this issue Aug 7, 2020 · 4 comments
Open

How to Play .m3u8 format #217

Waiyanmaing opened this issue Aug 7, 2020 · 4 comments

Comments

@Waiyanmaing
Copy link

Waiyanmaing commented Aug 7, 2020

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

@Arthurferrera
Copy link

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

Can anyone help?

@nicowxdvd
Copy link

i have the same problem... anyone?

@zaed-murad
Copy link

i have the same problem , any solution ?

@waltercruz
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants