the workshop tumblog

  • Archive
  • RSS
  • Ask me anything

I’ve switched to HTML5 YouTube Embed

Flash sucks and I want it to be easy for any iOS device to view videos on my blog.
The dimensions below are for 16:9 videos in this blog.

<iframe class=”youtube-player” type=”text/html” width=”500” height=”281” src=”http://www.youtube.com/embed/VIDEO_ID” frameborder=”0”>
</iframe>

YouTube API Blog Post: A New Way To Embed YouTube Videos

UPDATE: YouTube now supports HTML5 embed via the embed button on YouTube video pages.

    • #html5
    • #YouTube
    • #embed
    • #iOS
    • #video
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Recent comments

Blog comments powered by Disqus
← Previous • Next →

About

Avatar

Hello. I'm Nathaniel Daught, (27) a graphic designer, artist, Mac geek, and gamer. These are my ramblings, photos, links, and art because I sometimes have too much time on my hands... One would assume that you also have too much time on your hands because you are reading this blog. Enjoy.

Disclaimer: This site pre-dates Android phones and has nothing to do with them. I own an iPhone.

  • Home
  • Design Portfolio
  • Artwork
  • Contact

Me, Elsewhere

  • NetworkShadow on Dribbble
  • NathanielDaught on Behance
  • @NetworkShadow on Twitter
  • Facebook Profile
  • NetworkShadow on Vimeo
  • NetworkShadow on Youtube
  • NetworkShadow on Flickr
  • NetworkShadow on Last.fm
  • NetworkShadow on Rdio
  • NetworkShadow on Foursquare
  • Google
  • Xbox Live Profile

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Copyright Nathaniel Daught. Effector Theme by Carlo Franco.

Powered by Tumblr