Integrate Quicktime into 68KB
Some users may want to integrate Quicktime movies into their knowledge base so they can show tutorials or videos.
Here are some tips for setting up the knowledge base to allow this.
Step 1.
Download the external javascript files from Apple’s website. (The download link is about half way down the page.)
Step 2.
Upload the javascript file to the “javascript” directory.
Step 3.
Open the template file articles.php and add this line at the top:
<script src="<?php echo base_url(); ?>javascript/AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>
Step 4.
Add the new article from the administration and include this javascript code:
<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT_XHTML('uploads/mymovie.mov', '480', '376', '',
'autoplay', 'FALSE',
'emb#bgcolor', '#FFFFFF',
'scale', 'true',
'align', 'middle');
</script>
Replace the mymovie with your actual movie name.
Tips
Make the height 16 pixels larger than the actual movie so the controller will display properly.
November 30, 2007
0 comments
Kick things off by filling out the form below.
Leave a Comment