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

Foliovision

  • 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

How to get a YouTube short to fill the mobile screen?

Foliovision › Forums › FV Player › How to … › How to get a YouTube short to fill the mobile screen?

  • Taco Fleur 1 year, 6 months ago

    I have the following code

    [fvplayer src="https://www.youtube.com/shorts/QSEB-kzQpi8?feature=share" lightbox="true;text" caption="Watch the video for this task" postroll="1" width="100%" height="100%"]

    And it does not show the short as full-screen, the first image shows how it displays on YouTube, it completely fills the mobile screen.

    The second screenshot is what it looks like on my site after clicking the link.

    The third screenshot is after clicking the square icon top right second from the right.

    The last screenshot is after clicking the fullscreen icon on the youtube video.

    I would like the user to not have to do anything and see the short as intended. How can I achieve that? thank you

    002-screenshot_20240725_094429_com-brave-browser
    002-Screenshot_20240725_094429_com.brave_.browser
    003-screenshot_20240725_094453_com-brave-browser
    003-Screenshot_20240725_094453_com.brave_.browser
    004-screenshot_20240725_094409_com-brave-browser
    004-Screenshot_20240725_094409_com.brave_.browser
    001-screenshot_20240725_094620_com-google-android-youtube
    001-Screenshot_20240725_094620_com.google.android.youtube
Viewing 6 replies - 1 through 6 (of 6 total)
  • Martin 2 years ago

    Hello Taco,

    In FV Player 8 we get the YouTube video aspect ratio properly and store it in FV Player database.

    Please let us know if you actually use the [fvplayer src="..."] shortcodes for your videos, so we can look into storing the aspect ratio for that as well.

    In the meantime you can just add width="720" height="1280" video dimensions to the shortcode – it’s a 9:16 aspect ratio instead of 16:9 as width and height is swapped:

    `[fvplayer src="https://www.youtube.com/shorts/QSEB-kzQpi8?feature=share" lightbox="true;text" caption="Watch the video for this task" postroll="1" width="720" height="1280"]

    Thanks,
    Martin

    Taco Fleur 2 years ago

    Hi, I’m not sure what you mean? “Please let us know if you actually use the [fvplayer src="..."] shortcodes for your videos,”, do you mean what I have here in the shortcode as an attribute?

    [fvplayer src="https://www.youtube.com/shorts/QSEB-kzQpi8?feature=share" lightbox="true;text" caption="Watch the video for this task" postroll="1" width="720" height="1280"]

    Martin 2 years ago

    Hello Taco,

    I would like to know if you can see your player on wp-admin -> FV Player.

    If you are only using the src=”…” arguments in the shortcodes, you are not using the full potential of FV Player and it makes our storing of YouTube video sizes harder.

    I also wonder if the workaround with width="720" height="1280" fixed your issue.

    Thanks,
    Martin

    Taco Fleur 2 years ago

    I don’t have the player in the admin as it’s generated on the fly by coding. Setting the sizes does make it look a bit better on the phone but it’s not really fullscreen as expected.

    Martin 2 years ago

    Hello Taco,

    I will check if we could store the video aspect ratio even if you do not really use the FV Player database.

    I’m attaching screenshots of what I’m getting on iPhone 11 Pro with the shortcode which I suggested. One screenshot if with location bar, the other is without it.

    I would say that it fits pretty closely to the mobile screen. But I also see there is a bit of added spacing around the lightbox view. I’ll check if we could perhaps get rid of that spacing on mobile screens as every pixel counts.

    Thanks,
    Martin

    iphone-11-pro-fv-player-lightbox-without-location-bar
    iphone-11-pro-fv-player-lightbox-without-location-bar
    iphone-11-pro-fv-player-lightbox-with-location-bar
    iphone-11-pro-fv-player-lightbox-with-location-bar
    Taco Fleur 2 years ago

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
Reply To: How to get a YouTube short to fill the mobile screen?



Please Sign in or Register to upload files.

Related Posts

  1. Video height covers almost all screen in mobile because of ad code

    Video height covers almost all screen in mobile because of ad code

  2. Video stops in mobile when screen saver comes on or when screen is closed

    Video stops in mobile when screen saver comes on or when screen is closed

  3. DRM text not showing correctly on mobile in portrait + full screen mode

    DRM text not showing correctly on mobile in portrait + full screen mode

Primary Sidebar

How to …

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    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 © 2026 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‬