YouTube video shortcodes not displaying correct dimension

Support Forums for LiveMesh Themes & Plugins Forums Appdev Theme Support YouTube video shortcodes not displaying correct dimension

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3487
    AllworthAllworth
    Member

    I have tried to use the YouTube shortcode but the videos are not displaying the correct size. Even on the Appdev demo site the videos that are being displayed do not reflect the dimensions that are inside the shortcode itself.

    https://www.livemeshthemes.com/appdev/video-shortcodes/

    [youtube_video clip_id=”RWxqSEMXWuw” hd=”true” width=”560″ height=”315″]

    The YouTube video here should be 560px by 315 but it is at least 800 wide.

    Can you look into this please?

    #3502
    RaghavendraRaghavendra
    Moderator

    The width and height arguments do not work anymore due to responsive function built into the theme and way to control the width (height is auto calculated for the video depending on the original video size itself) is through column-shortcodes. You can use CSS too but can run into issues on mobile devices if you force a width on the video.

    To constrain the width of the videos, pls use column shortcodes (more the number of columns, more the width and height of the video) –

    https://www.livemeshthemes.com/appdev/column-shortcodes/

    The column shortcodes ensure the videos display right on devices of all sizes, including smartphones and tablets. Hope this helps.

    #3525
    AllworthAllworth
    Member

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘YouTube video shortcodes not displaying correct dimension’ is closed to new replies.