Hi zawan_na,
Not sure about ionicframework. But i know if you use http://www.appcelerator.com/ which is smilar but alot more advanced from a native perspective you can just have the player in a webview and it will work.
If you need to use the Native ios player or Android player you will need to add the url direct.
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media.VideoPlayer
var vidWin = Titanium.UI.createWindow({
title : 'Video View Demo',
backgroundColor : '#fff'
});
var videoPlayer = Titanium.Media.createVideoPlayer({
top : 2,
autoplay : true,
backgroundColor : 'blue',
height : 300,
width : 300,
mediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT,
scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT
});
videoPlayer.url = 'This would be you .m3u8 url or mp4 url grabbed directly from the S3Bubble interface';
vidWin.add(videoPlayer);
vidWin.open();
Best Regards
Sam
-
This reply was modified 7 years, 6 months ago by
s3bubble.