|
internet.com
IT
Developer Internet News Small Business Personal Technology Search internet.com Advertise Corporate Info Newsletters Tech Jobs E-mail Offers
Developer Channel
FlashKit.com
JavaScript.com JavaScriptSource Developer Jobs ScriptSearch StreamingMediaWorld Web Developer's Journal Web Developer's Virtual Library WebDeveloper.com Webreference Web Hosts XMLfiles.com
|
SYMM
QuickTime Basics (9)Putting QuickTime Online Embedding QT in your HTML <embed src="qt4sample.mov"> Next I put in the size of the movie I'm going to display. <embed src="qt4sample.mov" width="240" height="180"> Stop and play buttons might be nice. I can add a controller but I had better make the movie height larger by 16 pixels if I want things to display right. <embed src="qt4sample.mov" width="240" height="196" controller="true"> QuickTime allows the user to control whether or not movies automatically play when loaded. As a Web author, I probably want to control that capability myself. If I set "autoplay" to "true," the movie will start playing once enough of the clip has been preloaded. For now, I'll turn it off and force the user to hit the play button. Oh, and let's use good form and end that embed tag with a closing tag. <embed src="qt4sample.mov" width="240" height="180" controller="true" autoplay="false"></embed> There, my clip now looks like this: These embedding commands are the basics but you probably want to look through the complete list for others that might be handy. Am I forgetting something? Yes! I have yet to implement that movie poster image I talked about earlier...
The Latest WebDev Tips from DevX
Receive news via our XML/RSS feed |
|||
|