Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #67825
    Michael
    Member

    I’ve embedded an youtube as follows at judynmike.org
    [youtube http://www.youtube.com/watch?v=5ZIxFd5I280?rel=0&showinfo=0&w=420&h=315]

    When the file is displayed the width and height are as follows:
    [youtube http://www.youtube.com/watch?v=5ZIxFd5I280&w=1190&h=893]

    The above code came from the “copy embedded code” option when your right click on the youtube file. Can you provide a solution get the width/height selected?

    #67841
    Sakin
    Keymaster

    @Michael: Yes, that’s because of responsive video code. You can wrap with div and assign max width. For example you can see the code below:
    <div style="max-width: 420">and your youtube video embed code</div>

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Youtube iframe sizing’ is closed to new replies.