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
Re: How do I embed QuickTime movies?
sweet. thanks for the compliment.
and yeah, from what I understand href is simply a pointer for a second quicktime file to get loaded in. I’ve never heard of using true & false in it (just a link).
Some people will use a screenshot of a quicktime player with just a black screen showing, and then when the user clicks the movie the href tells their quicktime what movie to start loading in (and it stops displaying the QT screenshot)
Last edited by Walker (2007-03-27 18:22:49)
Offline
Re: How do I embed QuickTime movies?
By the way, I realized I had been using v0.9 instead of 0.9.6 Upgraded now.
I seem to have gotten it working like you described above.
(But without pmtype=“image/quicktime”. Using that threw this error: “txp:wlk_qt Error: video=19. No image or file with this id is stored in txp” where: postermovie=“19”, 19 is the id of the image — it seems to work without pmtype=“image/quicktime” ?)
I’ll keep at it. I haven’t had a chance to research these last points in the thread.
Offline
Re: How do I embed QuickTime movies?
what is this:
video=19
I think the error was for the video.
Could you block quote the error message next time so I can tell what it is that you’re writing and what it is that you’re copy&pasting?
Offline