| Embedded
movies |
| Embedded
sound
files |
| Back to Tips and
Tools |
| Back to Dr.
Hanson-Smith's homepage |
Adding embedded movies with controllers to your Webpage |
|||||||||||||||||
Microsoft Internet Explorer no longer readily supports QuickTime movies, so you will need to do a little fancy code to get most browsers to recognize your movie files. You can also use a javascript for this task, but this simple set of code seems to work:
Substitute your own file name for sample.mov above. Also make sure your height value is set for 16 pixels more than your actual movie's size to allow room for the controller. For a fuller explanation of the code, see Apple's page: |
|||||||||||||||||
Here is another example, this time using RealOne Player, another popular free resource for playing media on the Internet:
|
|||||||||||||||||
Adding embedded sounds with controllers to your WebpageThe codes for sound control can be fairly simple, depending on what size or type you need, but some commands are not recognized by some browsers. (Thanks again, Bill...) These are the simplest options I could find for the embedded controllers.
Notice that volume at 50% will be half of what users' settings are on their own computer. If you leave out this paramenter, the sound will play at the user's current setting. For more on sound controllers see http://www.mountaindragon.com/html/sound.htm http://www.htmlcodetutorial.com/embeddedobjects/_EMBED_CONTROLS.html |
|||||||||||||||||
| Back to top |