Inhaltsverzeichnis

QuickTime JavaScript library integration plugin

a lil plugin to include apples quicktime javascript library in the header of your template.

download

install

  1. copy qtjs.php into your wordpress plugin dir (/wp-content/plugins/)
  2. copy AC_QuickTime.js into /wp-includes/js/

requironments

you will also need the text-control plugin to disable wordpress character encoding on posts which will use the javascript or else all " or ' will get html treatment.

usage

just embed a script like this:

<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT( 'Movie URL', 'MovieWidth', 'MovieHeight', 'ActiveX Version',
'First Attribute Name', 'First Attribute Value',
'Next Attribute Name', 'Next Attribute Value',
...repeat attributes as necessary
'Last Attribute Name', 'Last Attribute Value' );
</script>

more info on soundscreen.com

and disable character encoding for this post (or formatting).

 
wordpress/qtjs.txt · Zuletzt geändert: 2007/11/30 01:10 von n00bian
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki