Consider using the new YouTube embeds?

Discussion in 'Forum Suggestions' started by Archduke Gianpietro, Dec 18, 2010.

  1. Archduke Gianpietro Immensely Creepy Member

    Member Since:
    May 18, 2009
    Message Count:
    3,599
    YouTube now has new IFRAME embeds:

    Code:
    <iframe type="text/html"
               width="640" height="385"
               src="http://www.youtube.com/embed/VIDEO_ID"
               frameborder="0">
    </iframe>
    
    I'm not sure what disadvantages they might have, but the main advantage is that some videos are viewable without Flash. It would please Flash haters like me, and probably some Apple/iPad lovers too. ;) It also runs smoother without Flash, and Chrome/Firefox 4 users can take advantage of it. :)

    P.S. What happened with the https server?
  2. Klonere lord pretty flacko bitch I behead people

    Member Since:
    Feb 7, 2010
    Message Count:
    6,746
    Location:
    dublin based flat
    but what about IE 6 users?
  3. Archduke Gianpietro Immensely Creepy Member

    Member Since:
    May 18, 2009
    Message Count:
    3,599
    I have a script that gets their credit card info and sends it to me while making their PC to erect a tentacle and insert it into their asshole. It would be a great addition to the forum too.
  4. emindead Junior Member

    Member Since:
    Apr 18, 2009
    Message Count:
    1,936
    Did the new software fixed this?
  5. Thalagyrt Herpderpin

    Member Since:
    Nov 10, 2006
    Message Count:
    5,525
    Location:
    Miami, FL
    Possibly, actually.
  6. Archduke Gianpietro Immensely Creepy Member

    Member Since:
    May 18, 2009
    Message Count:
    3,599
    In this post the code is as follows:

    Code:
    <object width="500" height="300" data="http://www.youtube.com/v/rqtr_RvR3sY&amp;fs=1" type="application/x-shockwave-flash">
        <param name="movie" value="http://www.youtube.com/v/rqtr_RvR3sY&amp;fs=1" />
        <param name="allowFullScreen" value="true" />
        <param name="wmode" value="opaque" />
        <embed src="http://www.youtube.com/v/rqtr_RvR3sY&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="500" height="300" />
    </object>
    
    So it still uses Flash (and it includes the use of an obsolete <embed> tag when you can embed Flash without those!)

    I have personally embedded Flash from YouTube using the following code:
    Code:
    <object style="width:426px; height:344px;" type="application/x-shockwave-flash" data="http://www.youtube.com/v/hmwUIgLzVEE&amp;hl=en&amp;fs=1&amp;color1=0x000000&amp;color2=0x0000000">
           <param name="movie" value="http://www.youtube.com/v/hmwUIgLzVEE&amp;hl=en&amp;fs=1&amp;color1=0x000000&amp;color2=0x000000" />
    </object>
    
    I'm not sure if it is the correct way to do it, but it works on every browser I've seen...
  7. Archduke Gianpietro Immensely Creepy Member

    Member Since:
    May 18, 2009
    Message Count:
    3,599
    Another thing about the embeds on the new forum. I realize this part probably won't change now, but the old forum loaded the page from YouTube to get the title of the video. This was very useful if a video got removed and you could search for it elsewhere by title, or at least get a hint of what the video was about. It also happened to work as a workaround for my feature request - if you didn't have Flash you could simply click the title with the link. It would be neat if the embeds could do this again.
    mattbrat likes this.
  8. mattbrat Fucking Prick

    Member Since:
    Sep 30, 2006
    Message Count:
    5,709
    Location:
    Nottingham, UK
    That also meant that you knew which video wasa being quoted which was nice.