How to Embed Valid XHTML YouTube and Google video in your blog

Design, Education, Random Add comments

If you’re into keeping your blog up to scratch with Web Standards and Mr XHTML Validator over at The World Wide Web Consortium (W3C), but every time you embed YouTube and Google video in your blog it really messes everything up… I’m here to help.

So to embed valid XHTML YouTube and Google video in your blog just copy and paste the code below, change the url link to the video you want to show and you’re good to go… you’re welcome.

<object type="application/x-shockwave-flash" data="INSERT URL HERE" width="425" height="355">
<param name="movie" value="AND INSERT URL HERE" />
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" style="border:none;" /></a></p></object>

And it’s as simple as that.

Leave a Reply



Blackpool Web Design Blackpool Web Design Blackpool Graphic Design Blackpool Illustration Entries RSS Comments RSS Log in