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

{ controls: false } options does not hide controls in fullscreen on iOS 12

Open gonzaloserrano opened this issue 6 years ago • 8 comments
trafficstars

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.

gonzaloserrano avatar Feb 11 '19 10:02 gonzaloserrano

Just had that happening to me as well. They do hide in the Android build but not on the iOS build

JoseGeorges8 avatar Feb 14 '19 14:02 JoseGeorges8

I'll investigate as soon as I have moment. Probably next week

shamilovtim avatar Feb 14 '19 15:02 shamilovtim

hello, is there any solution for this problem ?

GroupeBEL avatar Mar 25 '19 10:03 GroupeBEL

I'll look at this as soon as possible, sorry for the delay.

shamilovtim avatar Mar 25 '19 16:03 shamilovtim

@webteambel do you see this problem on an iphone Xs as well, or is it an emulator or different device?

shamilovtim avatar Mar 25 '19 16:03 shamilovtim

@shamilovtim I use an Iphone 6s , Os 12.1.4

GroupeBEL avatar Mar 26 '19 10:03 GroupeBEL

Is this still an issue?

JoseGeorges8 avatar Apr 12 '19 15:04 JoseGeorges8

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
        };

goedzo avatar Jan 29 '20 21:01 goedzo