cordova-plugin-streaming-media
cordova-plugin-streaming-media copied to clipboard
{ controls: false } options does not hide controls in fullscreen on iOS 12
What version of Streaming-Meda-Cordova-Plugin are you using?
2.2.0
What version of Cordova are you using?
8.0.0
What devices are affected?
iPhone Xs
Please describe the issue in detail, with relevant code samples
Executed this code:
const videoUrl = 'https://www.radiantmediaplayer.com/media/bbb-360p.mp4';
window.plugins.streamingMedia.playVideo(videoUrl, { controls: false });
to play the video.
What did you expect to happen?
Video is played in fullscreen without controls.
What actually happened?
Video is played in fullscreen with controls.
Just had that happening to me as well. They do hide in the Android build but not on the iOS build
I'll investigate as soon as I have moment. Probably next week
hello, is there any solution for this problem ?
I'll look at this as soon as possible, sorry for the delay.
@webteambel do you see this problem on an iphone Xs as well, or is it an emulator or different device?
@shamilovtim I use an Iphone 6s , Os 12.1.4
Is this still an issue?
Yes it's still an issue, just test on iphone X. Still shows controls.
My options parameters are:
var options = {
successCallback: function () {
app_playingVideo=false;
console.log("Video was closed without error.");
},
errorCallback: function (errMsg) {
app_playingVideo=false;
console.log("Video was with an error.");
console.log(errMsg);
},
orientation: 'portrait',
controls:false
};