Author: Lars Kirchhoff Website
Download Location
Further Information (forum post by author and discussion regarding this alteration) Link
Description:
Videoplug is an extension that allows you to embed youtube and google videos by a simplified method. Essentially you just use the filename for youtube and a similar process for Google.
This Wiki entry is intended for those that would like to use this extension but require or desire XHTML valid markup on their sites.
To make this change, open the file ext.videoplug.php in a text editor.
On line 278 the following code appears:
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/' . $doc_id . '"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/' . $doc_id . '"
type="application/x-shockwave-flash"
wmode="transparent"
width="425"
height="350">
</embed>
</object>
Replace that text with the following:
<object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/' . $doc_id . '">
<param name="movie" value="http://www.youtube.com/v/' . $doc_id . '" /></object>
Upload the file to your /system/extensions/ directory.
That’s it!
