- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I added this plugin (cordova-plugin-streaming-media-master) to my application to stream a URL, I tried the app in the app preview but it did not work. This is my code:
<html> <head> <title>Player</title> <script> onDeviceReady: function() { var videoUrl = "http://dmivll.mangomolo.com/dubaione/smil:dubaione.smil/playlist.m3u8"; // Just play a video window.plugins.streamingMedia.playVideo(videoUrl); // Play a video with callbacks var options = { successCallback: function() { console.log("Video was closed without error."); }, errorCallback: function(errMsg) { console.log("Error! " + errMsg); }, orientation: 'landscape' }; window.plugins.streamingMedia.playVideo(videoUrl, options); } </script> </head> <body> </body> </html>
I want to that the page streams the URL when I load the page. Please advice
Thank you
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page