Welcome to TalkGraphics.com
Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Stoke on Trent , UK
    Posts
    384

    Default Re: resize youtube video

    hi try this code and you should be able to resize your video

    cheerz

    <iframe width="100%" height="100%" src="//www.youtube.com/embed/F1PGiIlXsrg" frameborder="0" allowfullscreen></iframe>

  2. #2
    Join Date
    Apr 2009
    Location
    Lincolnshire, UK
    Posts
    61

    Default Re: resize youtube video

    I often embed video and a small tip I picked up is to add this (?rel=0) to your code at the end of your path. This prevents the associated videos appearing and the end of the video, sometimes the content of these links is inappropriate.

    <iframe width="100%" height="100%" src="//www.youtube.com/embed/F1PGiIlXsrg?rel=0" frameborder="0" allowfullscreen></iframe>

  3. #3
    Join Date
    May 2009
    Location
    Stoke on Trent , UK
    Posts
    384

    Default Re: resize youtube video

    it works just the same for vimeo - click share then copy the embed code then change the height and width to 100% in the placeholder code then click apply then adjust the size of the video accordingly .

    <iframe src="//player.vimeo.com/video/93877492?title=0&amp;byline=0&amp;portrait=0&amp;b adge=0&amp;color=ffffff" width="100%" height="100%" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <p><a href="http://vimeo.com/93877492">kidkanevil 'Inakunaru Feat. Phasma'</a> from <a href="http://vimeo.com/takcom">takcom&trade;</a> on <a href="https://vimeo.com">Vimeo</a>.</p>

 

 

Tags for this Thread

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
  •