• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Issue with mobile landscape orientation lock

[Solved]

Foliovision › Forums › FV Player › Bug Reports › Issue with mobile landscape orientation lock

  • kongasamdx 2 years, 11 months ago

    My brother has another question. When Android mobile phone presses full screen, it likes to rotate the screen automatically. Where should I go to set this? or can’t be fixed

    capture-21
    Capture
    s__21815307
    S__21815307
    2800
    2800
    2801
    2801
Viewing 31 replies - 1 through 31 (of 31 total)
  • kongasamdx 3 years ago

    It’s only android that rotates the screen automatically but ios doesn’t.

    Martin 3 years ago

    Hello kongasamdx,

    we force the landscape orientation for Android on purpose. It’s much better for video playback that way. We wish we could make that work for iPhone too, but it does not support it.

    Please let us know why do you prefer the video playback to stay in the portrait mobile orientation.

    Thanks,
    Martin

    kongasamdx 3 years ago

    Some videos if horizontal Videos taken from a mobile phone will become smaller. So I want viewers to be able to choose to adjust vertically or horizontally by themselves.

    Martin 3 years ago

    Hello kongasamdx,

    FV Player already detects the video aspect ratio and if it’s shot in portrait mode of the phone camera it should not be forcing the landscape orientation of the player when in fullscreen.

    Are you sure that the actual video is not with the landscape aspect ratio with black bars on sides or the actual picture?

    Please use our Video Checker to submit a report of the video: https://foliovision.com/player/basic-setup/how-to-use-video-checker

    Thanks,
    Martin

    kongasamdx 3 years ago

    The aspect ratio of the video captured by a mobile phone. If shooting vertically, when rotated horizontally, it will not fill the screen. There will be a black bar next to it like I sent you a picture. If this part can’t be fixed, it’s okay brother. I’m just asking thank you very much

    kongasamdx 3 years ago

    The aspect ratio of the video captured by a mobile phone. If shooting vertically, when rotated horizontally, it will not fill the screen. There will be a black bar next to it. The format I sent you to see. If this part can’t be fixed, it’s okay brother. I’m just asking thank you very much

    Martin 3 years ago

    Hello kongasamdx,

    this should already be working well. Please send the video file URL or use our Video Checker to submit a report of the video: https://foliovision.com/player/basic-setup/how-to-use-video-checker

    That way we can check why FV Player fails to detect that the video is vertical and why it forces the landscape orientation in fullscreen on Android.

    Thanks,
    Martin

    kongasamdx 3 years ago

    Where can I send a sample video? I have chosen the topic as you mentioned. but it is not sent to me

    capture-5-2
    Capture-5-1
    kongasamdx 3 years ago

    I think the Android system should allow viewers to choose whether to rotate the screen or not.

    kongasamdx 3 years ago

    If so, can you code for screen rotation lock for me? I want viewers to be their own choice.

    Mária Stašová 3 years ago
    Avatar photo

    Hello Kongsamdx,

    based on your settings screen, you have currently disabled the video checker. Make sure your videos have the little “Admin checker:” message in top left corner.

    Is sending a sample video necessary? Once you click the message, you will be able to see information about the video. It is best to just send us a screenshot/ copied text or an automatic report via the admin video checker. The information Martin needs should be included there.

    Thanks,
    Maria

    kongasamdx 3 years ago

    I did as you said It doesn’t show up to check. What must I do?

    9-5
    9
    10-5
    10
    Martin 3 years ago

    Hello Kongsamdx,

    please post a link to the page where we can see the issue with the vertical video not being detected.

    The Video Checker is not showing for YouTube and Vimeo videos. I don’t think you are using one of these, but once we see the page, we might be able to figure it out.

    Thanks,
    Maria

    kongasamdx 3 years ago

    Now I have cloudflare turned off, normally I can only access Thailand. If you finish checking, please let me know. I will go to open cloudflare as usual.

    kongasamdx 3 years ago

    If you want the screen to rotate automatically when zoomed in. Should have made a code to turn off automatic screen rotation as well. thank you very much brother

    • This reply was modified 2 years, 10 months ago by Martin.
    kongasamdx 3 years ago

    (links removed)

    In any case, I would like you to give it a try. It’s possible I need a code to disable auto-rotation of the screen.

    Martin 3 years ago

    Hello Kongsamdx,

    I see we are not detecting the video resolution for HLS properly, when playing with the HLS.js library.

    We are fixing that, then Android will no longer force the landscape orientation.

    Unfortunately I was not able to check your videos, I was getting HTTP error 451. Perhaps it was due to some country blocking.

    Thanks,
    Maria

    Martin 3 years ago

    Hello Kongsamdx,

    Could you please reinstall FV Player from this link? https://github.com/foliovision/fv-wordpress-flowplayer/archive/refs/heads/5095267703-hls-video-width-height.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 when you play a vertical video and enter fullscreen your Android phone will no longer force the landscape orientation.

    Thanks,
    Martin

    kongasamdx 3 years ago

    If I put the plugin you provided over it Will my video not disappear?

    kongasamdx 3 years ago

    I’ve tried installing the plugin in WordPress. But the video was forced to rotate as usual. Can you take a look for me?

    kongasamdx 3 years ago

    In mobile settings, I only have this option.

    capture-22
    Capture-1
    Martin 3 years ago

    Hello Kongsamdx,

    are you able to run this script on the browser console when the video plays?

    flowplayer(0).video.width

    That way we should see if the proper video width is detected.

    If it’s zero, then Cloudflare might be hanging on to the old version of the FV Player script file. There are setting to ignore the query string versions, so these should be disabled.

    If even that won’t help, please provide a link to your video file.

    Thanks,
    Martin

    kongasamdx 3 years ago

    There is another site of mine that uses an older version of FV Player. It will have an option to lock or not to lock. But the one you sent me is not an option.

    capture1
    Capture1
    capture-23
    Capture-2
    Martin 3 years ago

    Hello Kongsamdx,

    we try to get rid of unnecessary settings where possible.

    We can detect the video orientation (landscape or portrait) properly, so this should all just work fine.

    I provided the troubleshooting steps for you so that we can move forward with this and ensure you get the desired video display – only force landscape orientation for landscape videos.

    Could you please go through what I posted in my previous message?

    Thanks,
    Martin

    kongasamdx 3 years ago

    Well, I don’t know where to put the code you provided. Well, I just want it to not force the screen to rotate. Do you have an old version of the plugin for me?

    Martin 3 years ago

    Hello Kongsamdx,

    here’s how to open your browser developer console: https://foliovision.com/player/troubleshooting/javascript-browser-console

    So please play your video on your desktop computer, open that console, copy-paste the following to it:

    flowplayer(0).video.width

    …and then once you hit Enter you should get the video width which FV Player has detected.

    The older plugin versions can be found on https://foliovision.com/my-licenses -> Show Previous Version, but I wouldn’t recommend that as you wouldn’t be getting the security fixes (and also playback fixes on new mobile devices for instance).

    Thanks,
    Martin

    kongasamdx 3 years ago

    Is this one?

    capture-24
    Capture-3
    kongasamdx 3 years ago

    the old version you said Some new mobile phones, the system can’t play?

    Martin 3 years ago

    Hello Kongsamdx,

    the older version of FV Player does not have any compatibility issues with mobile devices, but in a year it might have. We had such issues with Android 10 or YouTube video in the past.

    Thank you for the console output. It seems that our updated code either fails to detect your video dimensions properly or that Cloudflare is not giving you the up-to-date FV Player script file.

    Please provide a link for that exact video file so that we can inspect it.

    Thanks,
    Martin

    kongasamdx 3 years ago

    So can I switch to the old FV Player first? But I didn’t delete the new one. If you update to the new version, can you please add the non-rotate function for me?

    Martin 3 years ago

    Hello Kongsamdx,

    our goal is to fix the portrait video detection if there is any issue with it. Please share your video URL so that we can have a look at it directly. We will keep the link private. You can also just sent it to the support email.

    Thanks,
    Martin

Viewing 31 replies - 1 through 31 (of 31 total)
Reply To: Issue with mobile landscape orientation lock



Please Sign in or Register to upload files.

Related Posts

  1. Mobile Force Landscape Orientation

  2. Force use of landscape orientation for fullscreen on mobile

    Force use of landscape orientation for fullscreen on mobile

  3. Autoplay on mobile browsers and low battery mode and iOS lock screen player

    Autoplay on mobile browsers and low battery mode and iOS lock screen player

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!