• Resolved shaunhines

    (@shaunhines)


    Have scoured the net for answers to this but have come to the conclusion the ‘Chosen’ theme is overriding any efforts to stop the video playing full width.

    Any advice for a newbie please?

    Many thanks…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Ben!
    How can I change the video-size? I′d change it in the blog html:

    <p style="text-align: center;"><iframe src="https://www.youtube.com/embed/TYQcU-WP1Zk" width="300" height="169" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>

    for a little short moment it appears the correct size- but a millisecond later the size of the video changes to “full-size”.
    Thanks again for a short hint!
    Ray

    Theme Author Ben Sibley

    (@bensibley)

    Hi Ray,

    Chosen auto-resizes all videos to fit the post content area, but you can turn this off on a video by adding the CSS class “fitvidsignore”.

    For instance, it can be applied to the iframe in your HTML like this:

    <p style="text-align: center;"><iframe class="fitvidsignore" src="https://www.youtube.com/embed/TYQcU-WP1Zk" width="300" height="169" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>

    The video will then display at its natural dimensions.

    Hi Ben!
    This works perfect!

    Thanks again for your great support!
    Ray

    This topic is resolved

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Embed video size (Chosen theme)’ is closed to new replies.