Foliovision › Forums › FV Player › How to … › Force Landscape in Fullscreen on iPhone
-
-
Hello Rene,
thank you for your questions!
1. Since the progress bar, the buffer bar, the base bar and playback time are all different elements, it would be best, if you’d rather inform us what elements would you like the controlbar to show after the changes.
2. Do you mean how to make videos muted by default? You can make the autoplay videos play muted by going to Settings -> FV Player Pro -> Sitewide FV Player Defaults -> Autoplay and select Muted. In most browsers and devices, the videos auotplay muted by default.
As for videos on which the user manually presses play, the default audio is on 100% and later the user’s preferred playback volume gets remembered.
3. Go to Settings -> FV Player Pro -> Mobile Settings and enable Force landscape orientation in fullscreen.
Thanks,
MariaFor questions 1 & 2 i figured it out myself, thanks for the help.
Question 3 i already have that optioned enabled but does not seem to work. The device remains in portrait. See image attached.
Hello Rene,
does the issue occur with MP4 videos or is it some other video type?
I’m asking because recent iOS version do have playback issues with MP4 videos. These issues appear even when using the core web browser video player so it’s really not related to FV Player.
Unfortunately I failed to find any resolution for these issues last time I was checking, so it’s time to have a look again.
Thanks,
MartinHello Rene,
please let us know what exactly do you use for as video source.
Is it the MP4 file link, HLS (.m3u8) file link (these are called the Vimeo Pro file links) or the https://vimeo.com/{number} links which we recommend to use with FV Player Pro?
Thanks,
MartinI have been using the recommended links such as below
https://vimeo.com/{number}
Hello Rene,
I confused this thread with something else, sorry about all these questions which are actually not to the point.
So finally about forcing the landscape orientation in fullscreen – we use W3 Screen Orientation API which is not supported on iOS: https://caniuse.com/screen-orientation The “Force landscape orientation in fullscreen” setting description mentions that too:
Works on the Android mobile, not supported on iOS unfortunately.
However it seems we could achieve the same effect on iOS using CSS, so we will give it a try:
.flowplayer.is-fullscreen .fp-player { transform: rotate( 90deg ); width: 100vh; height: 100vw; transform-origin: left top; left: +100%; }
The above code rotates the player, but then tapping on the timeline no longer works properly. Also clicking the exit fullscreen on iPhone is next to impossible. So there are some challenges.
Thanks,
MartinHello Rene,
if you are interested in this you can reinstall FV Player from this ZIP file: https://github.com/foliovision/fv-wordpress-flowplayer/archive/refs/heads/837-ios-landscape.zip
To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.
Then enable Settings -> FV Player -> Mobile Settings -> Force landscape orientation in fullscreen on iPhone.
This new user also improved the fullscreen experience when iPhone is in landscape orientation – since it doesn’t provide a real HTML5-based fullscreen it’s easy to show the browser location bar, so we tell the user to swipe up to get rid of it and truly see the video on full screen.
Thanks,
Martin