• Hi All,

    I apologize in advance if I am submitting this issue in the wrong site or forum but I was directed here by the developer’s website.

    Anyway, I can’t resize youtube vids using the Magazine Basic theme. I have tried many shortcode variations and tried to edit the image. Seems the only thing I can do is edit the image and make it way larger.

    I am sure it is the theme because others will work but I really like what I have.

    Here is the shortcode I use but the vid is way to large on the site.

    <iframe width=”320″ height=”180″ src=”//www.youtube.com/embed/uRmoowIN8aY”> frameborder=”0″ allowfullscreen></iframe>

Viewing 1 replies (of 1 total)
  • In order for YouTube videos to resize according to different devices, the height and width parameters have to be removed. Magazine Basic has a responsive script in place that will surround the video and resize it properly according to the device screen size.

    You can see an example here:

    https://demos.bavotasan.com/magazine-basic/post-formats/youtube-video-embed/

    If you want to force a max width on the video, you need to surround it with a DIV container like this:

    <div style="max-width: 200px;">
    
    </div>
Viewing 1 replies (of 1 total)
  • The topic ‘Can't resize Youtube vids with Magazine Basic Theme’ is closed to new replies.