Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2010
    Posts
    8

    Default Embeded youtube video is cropped when played

    After pasting code to embed youtube video on page I notice that the video is cropped when I look at it in the browser.

    I tried changing the size in the hmtl code and no difference.

    Any ideas?

    I amusing Xara Web Designer Premium 12

    Thanks
    Paul

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,645

    Default Re: Embeded youtube video is cropped when played

    Quote Originally Posted by pdelisle22 View Post
    After pasting code to embed youtube video on page I notice that the video is cropped when I look at it in the browser.
    I tried changing the size in the hmtl code and no difference.
    Any ideas?
    I amusing Xara Web Designer Premium 12
    Thanks Paul
    Paul, only guessing that the Placeholder code is a width and a height in pixels.
    You need to ensure the Placeholder object is that minimum size. or change the code to 100% instead of an actual size.

    Copy the code here so we can make more clear for you.

    Acorn
    Acorn - My current Xara software: XDPX365, XDPX11 (32/64-bit), WD365 Premium, XPGD10, X3D7 and lots of licences back through time (to CC's Artworks)

  3. #3
    Join Date
    Nov 2010
    Posts
    8

    Default Re: Embeded youtube video is cropped when played

    <iframe width="560" height="315" src="https://www.youtube.com/embed/l0hUjmpk1OM" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,645

    Default Re: Embeded youtube video is cropped when played

    Quote Originally Posted by pdelisle22 View Post
    <iframe width="100%" height="100%" src="https://www.youtube.com/embed/l0hUjmpk1OM" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
    Try with the above and make the Placeholder 640 x 400. If that all works, you can alter the size of the Placeholder to your needs.

    Acorn
    Acorn - My current Xara software: XDPX365, XDPX11 (32/64-bit), WD365 Premium, XPGD10, X3D7 and lots of licences back through time (to CC's Artworks)

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •