A fascinating article indeed --- but seriously, some of us are quite keen to maintain W3C compliance standards in our site coding, then we want to incorporate a nice embedded video from YouTube or Vimeo and everything screws up.
Here is the solution for the YouTube embedding: I will use our holding video as an example.
This is You Tube’s non valid embedding code:-
To make this fully compliant and slightly simplified to boot, we remove the embedding tags and some of the parameter tags then simply ‘install’ the item as if it were a standard flash object (which of course it is) :-
All you need to do when embedding other videos (from YouTube) is to take note of the video URL i.e. (http://www.youtube.com/v/pFW2Vkg6OsU&hl=en_GB&fs=1&) above and replace it with the new one shown in the relevant automatically generated YouTube embedding code.
O.W. 19th November 2009
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment