by_youtube
v or id: id to the youtube movie
width: width (in px) (default: 425)
text: the text you want to show if they dont have a flash player (default: You need a flash player to see this movie.)
xhtml: yes/no (default: yes)
ar: Aspect Ratio (default 1.214)
The script will automaticly add the right height (so the AR doesn’t go wrong). Will validate HTML or XHTML (default XHTML).
You can edit the width, text (if they dont have a flash player), and aspect ratio if you like.
Validating XHTML found at Fru W (Norwegian)
Changelog:
Version 0.3:
— Fixed RegEx
Version 0.3:
— Added id (id and v are the same), fixed filter on url (you can now paste full youtube links in v or id).
Version 0.2:
— Added width, text, xhtml and aspect ratio. Height are defined by width and AR.
Version 0.1:
— Added v
Archived [?]: orphaned: broken links









Comments/questions? Leave a message in the form.
Commented (7)
Is there support for adding the ID via a custom field? And, would it be possible to add URL filtering of the ID, if someone would paste the full URL into this field?
I’d use it these two things worked, looks very nice already though!
Fixed in version 0.3. Updated.
Added “id” as an attribute too, so people can use v or id, as they like. It have support for full URL to youtube movies too.
can you write a simple example? i don’t get, how to embed it to the article
* Without the whitespace.
How to use by_youtube
Sounds like a nice plugin, but the download link is broken.
Links fixed.
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site. Get a Gravatar.
Would you care to write a comment?