The sidebar of our blog theme uses a javascript script which gives each user that visits this blog an option to see the sidebar widgets in the way he likes, or even close them. To see what I mean check the video and try it by yourself.

As we love web standards, we did not use the code that Youtube offers for embedding videos. This code contains the embed tag which is non-standard and does not validate as xhtml. If you want to embed a youtube video in your blog or site use this

<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/moviecode" width="400" height="326"><param name="movie" value="http://www.youtube.com/v/moviecode" /></object>

The moviecode is a code found in each youtube video adress and is after v= until the first ampersand (&). For example in this URL http://www.youtube.com/watch?v=xmHHjUZPyMY, the code is xmHHjUZPyMY. Using this code Typpz blog is still using valid XHTML.

Tags: , , , , , ,

Related posts:
Web 2.0 logo creation (video guide)
How to: Enable Windows Vista sidebar when you get the message “Sidebar is managed by system administrator”
RSS Feed is your blog’s mirror
Customizing Simpla theme
WordPress 2.3 released

5 Responses to “Customising the sidebar as you like!”

  1. ipodcrates Says:

    You are my …Hero!!!

    I can use now, embedded Youtube videos in my blog with this code.

    Thanks! (Ευχαριστώ) :-)

  2. iPodcrates » Blog Archive » Κάτμαν vs Σωκράτη! Says:

    [...] Να είναι καλά οι πληροφορίες που βρήκα στο παρακάτω blog με την αναγραφή του σωστού [...]

  3. yzknoqmkzi Says:

    Hello! Good Site! Thanks you! dkvqsdkpqtysk

  4. Bob k Says:

    I was looking for that! How can a site like youtube giving non-validating code? :-(

  5. Andy Says:

    Just what I needed, flippin youtube!

Leave a Reply

TopTOP