It was actually easier then I thought it would be and I plan to outline the steps I took to preserve my MT permalink structure in WordPress. What I had to do isn’t outlined anywhere on the web. I had to improvise with a variation of a couple different methods. WordPress 2.x imports differently then past versions so that was the real trick…..outline coming in the next week.]]>
The files are both XML formatted but with different tagging structures. I am going to cover the easier of the two – QTL. I will save the SMIL lecture for another post.
Quicktime media Link or QTL for short allows you to create a text link on a web page that opens a movie in QuickTime player. For this to work, your web server must be configured to associate the .qtl file extension with the correct MIME type. The MIME type can be handled by placing a .htaccess file into the movies directory. Type the following info into the .htaccess file:
AddType application/x-quicktimeplayer qtl
The XML within the .qtl file will look something like this:
Save this XML as “qtfullscreen.qtl” and into the same folder as your .htaccess file or vise versa. Now you can make a link from within a web page that calls your .qtl file. You now have a control to play your movie Fullscreen!!
Other important Commands for your XML file:
autoplay = “true” or “false”
controller=”true” or “false”
fullscreen=”normal” or “double” or “half” or “current” or “full”
loop=”true” or “false” or “palindrome”
playeveryframe=”true” or “false”
quitwhendone=”true” or “false”
Play Sample Movie Now!!
New features in CS2 scripting:
It is a one liner to include files in your CS2 script.
//Global contants or variables can be defined in another file.
//This line should go before any code that will execute methods.
// @include "YourFileToInclude.jsx"
The self contained scriptlet is also a one liner.
// This enables double clicking on the Mac OS or on Windows
// This line of code should be first if you want your script
// to be a self contained scriptlet
The Scripting Events feature is not so much about coding but more about executing scripts when a given event happens within Photoshop CS2. Let’s say I always want a specific size of document, specific font selection, specific ruler units, and specific font color selected whenever I create a new document. I can write a script that will execute on CS2′s New Document Event. (That is another how to).]]>
BTW: I have only tested the new templates in safari, firefox, Mozilla, and camino on Mac OS X. I fully expect to be making CSS tweaks later.]]>
I also want to add LiveSearch – It is such a cool feature. If anyone has any feedback to give me? please do.]]>
IE supports innerHTML for table cells and FireFox doesn’t.
You have to embed a div within the table cell and perform all innerHTML calls on that. IE and FireFox both support this method.
Sample code below:
/* This works for both IE and Firefox */
if(document.getElementById("currentItem").innerHTML != "1")
document.getElementById("currentItem").innerHTML = "1";
document.getElementById("currentItem").innerHTML = "2";
<table width =" 200" border="0">
FireFox or IE Gotcha:
FireFox does not support table tags when changing the value of a div using innerHTML()- when the div is within a table cell. Form tags along with most other tags are supported
*IE does support table tags when changing the value of a div using innerHTML() when the div is within a table cell.
I am not really sure who is right and who is wrong with the Gotcha…]]>
function playFwd(anObj, rate)
anObj.Play(); //Have to call play first
<image src="images/fps_button.jpg" border="0">
When dealing with rtsp this will only cause the video to slow (The audio plays at full speed – bug reported to Apple). When using this code with a progressive download QT file it works great.
If you take your streaming file and run it through the http protocol everything works great!! But then you don’t get the features of the QTSS. Another topic…
The bottomline: Play() has to be called before using SetRate().
Ideas on how to fix the problem would be helpful so please leave a comment…I am going to contact Google today.]]>
I am #1 for both of these searches!! This is great because I wasn’t even trying. I guess I picked a good topic to write about.]]>