Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#61 2007-01-22 10:55:13
- monkeynotes
- Member
- From: UK
- Registered: 2005-04-13
- Posts: 41
Re: How do I embed QuickTime movies?
Thanks for your help Walker, sorry I had to pile off to throw up just as you cracked the problem :) The Textpattern community is one of the most responsive and friendly I have ever encountered.
Offline
#62 2007-01-22 14:03:41
- John Wozniak
- Member
- Registered: 2006-10-20
- Posts: 37
Re: How do I embed QuickTime movies?
Not sure how IE handles this (don’t have it available often as I am Mac at home), but this code works and validates to a strict doctype:
<div>
<object classid=“clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B”
codebase=“http://www.apple.com/qtactivex/qtplugin.cab”
height=“16” width=“74”><param name=“src”
value=“http://johnwozniak.com/audio/Sugar.mp3”><param
name=“autoplay” value=“true”><param name=“loop”
value=“true”><param name=“controller” value=“true”>
<object type=“audio/mpeg”
data=“http://johnwozniak.com/audio/Sugar.mp3” height=“16”
width=“49”><param name=“autoplay” value=“true”><param
name=“loop” value=“true”><param name=“controller”
value=“true”></object></object>
</div>
Offline
Re: How do I embed QuickTime movies?
First I want to say that this plugin Rocks! Thanks for that Walker!
Im going to implement it on our site and everyting is working like a charm.
Just encounter one thing:
The posterframe scales to fit… but the video stays in its own original renderd size what is 352×288…
I’ve used the following tag in the article form:
<txp:wlk_qt width="640" height="496" bgcolor="black" fieldname="mp3/video" pmfieldname="poster" pmtype="image/quicktime" js="true" controller="true" scale="tofit"/>
The javascript on page looks good aswell:
write_wlkqt('URL/352-288.mov', '640', '496', 'true', 'tofit', 'video/quicktime', 'true', 'black', null, null, null, null, null, null, 'false', 'image/quicktime', 'URL/mages/3.jpg');
Am I overseeing something…
Thanxs!!
Offline
Re: How do I embed QuickTime movies?
Apple’s quicktime does not offer a way to set the scale on both the poster movie and the movie that is then loaded in.
Technically, when you click the poster movie, you’re clicking a link inside the QT control….thus, it’s no longer reading the variables.
Therefore, the poster movie variables should replicate (except for image/quicktime or video/quicktime) the actual movie’s variables (width, height, scale, background, etc).
Offline
Re: How do I embed QuickTime movies?
Fair enough…
For the one who likes to know: As a last attempt I tried to trick quicktime by saving the file with a scaled playback size (bigger), but hey that did not work either…
Offline
Re: How do I embed QuickTime movies?
First of all, Walker, the plug-in is excellent, just what I wanted.
One question I have, and perhaps I have overlooked something, is whether there is any way to set the cache to true:
<param name=“cache” value=“true” />
or is there a strong reason for not doing that?
I have a friend who has a dial-up connection and the movie is reloaded everytime, I guess. And we will be doing a project together using txp and presenting video clips, so his comfort level in the development will be important.
Offline
Offline
Re: How do I embed QuickTime movies?
Thanks for the quick response Walker.
Another general question: as I mentioned, my friend has the dial-up and concerning the project we’ll be doing together (txp/ with this plugin) he feels that the fact that the loaded movie automatically starts streaming is not good for people with dial-up connections, in other words that it should wait until they decide to press the play button before it starts streaming.
I have had a fast DSL connection for some time, and I would be interested in any thoughts on this, on whether it can/should be set up so it only starts streaming when play is pushed.
Is it annoying for other dial-up users when it starts streaming or “downloading.”
I found this
autohref=“true”
attribute at Apple. I will test it but maybe that is the thing to look at?
Offline
Re: How do I embed QuickTime movies?
I already support autoplay on and off toggling. ( use autoplay=“false” in the tag to set it. )
let me know if that doesn’t work, because if it doesn’t it’s only because no one told me.
Offline
Re: How do I embed QuickTime movies?
Thanks again Walker,
No, the autoplay=“false” works fine and and I am using it; what I mean is how it starts to load already, to stream, not to play, before the play button is clicked.
The the gray loading bar to the right of the play button indicates the loading, not the playing.
Again, there is no problem for me, but according to my friend he feels it automatically starts to use a dial-up person’s bandwidth, etc.
Last edited by robertbruce (2007-03-27 17:54:04)
Offline
Re: How do I embed QuickTime movies?
Oh. I know what you’re talking about now. Try using the postermovie functions. They have the added bonus of give you a way to display a cool teaser for the movie (or to brand the movie).
Offline
Re: How do I embed QuickTime movies?
Ahh, okay, I will experiment with them.
I had tried taking your generated code for a test movie and adding
<PARAM NAME=“autohref” VALUE=“false”>
and
AUTOHREF=“false”
copying the code to a page, not an entry, and the movie worked but still started loading (but a testament to the solidity of your code that it still worked at all after my messing with it!).
Offline