Embedding youtube videos now works on WordPress

To my surprise – I must have missed any announcement about this new feature – embedding youtube videos now works on WordPress. Sweet ! Embedding youtube videos usually uses some code like this …


   1: <iframe class="youtube-player" 
   2: title="YouTube video player" 
   3: height="390" 
   4: src="http://www.youtube.com/embed/2bBMKtRm898" 
   5: frameborder="0" 
   6: width="640" 
   7: allowfullscreen 
   8: type="text/html">
   9: </iframe>

… and iframes haven’t been allowed in WordPress, as I learned through this discussion; probably still are not allowed.

Nevertheless, when pasting some youtube video embed HTML code into my blog posting it now is converted to something like this …

… and works nicely, as you can see for example here.


2 Responses to “Embedding youtube videos now works on WordPress”

  1. Karl Says:

    I don’t know if you use the visual interface but you can just pop the url in there and bingo.. works for a number of platforms

  2. amagard Says:

    Hi Karl,
    thanks for the hint, just checked it out. Nevertheless I usually don’t use it, I prefer to use my favorite external blog editor Windows Live Writer.
    Anyway – apparently they also support Google Videos !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: