embed a quicktime video on an html page ?

fab5freddy

macrumors 65816
Original poster
Jan 21, 2007
1,192
0
Heaven or Hell
i just shot a tiny .avi video with my canon point & shoot,
and would like to embed the video onto a webpage so it can
run in quicktime, or possibly even better convert it to a flash video file
through youtube........ what is the best way to do this ???

thanks!
 

LastLine

macrumors 65816
Aug 24, 2005
1,309
19
Create youtube account.

Upload to youtube.

Copy embeded code provided when uploaded.

Paste this into your html where appropriate.


Job's a good'un.


:)

On a similar vein - anyone know how I can make a site play an mp3 file on load? Preferably with an on/off switch?
 

jsm4182

macrumors 6502
Apr 3, 2006
346
12
Beacon, NY
Create youtube account.

Upload to youtube.

Copy embeded code provided when uploaded.

Paste this into your html where appropriate.


Job's a good'un.


:)

On a similar vein - anyone know how I can make a site play an mp3 file on load? Preferably with an on/off switch?
both your question and the OP's question can be easily solved with the embed tag
 

fab5freddy

macrumors 65816
Original poster
Jan 21, 2007
1,192
0
Heaven or Hell
yeah, the you tube option is kinda amateurish and cheesy, i wanna do it the professional way, where you dont see any any logos in the embedded video.
 

fingers

macrumors regular
Jan 16, 2004
145
0
London
Is there not a more....valid? Option.
I would love to find the definitive answer to that question!

Currently I have posted a QT movie using this code:
Code:
<!-- Quicktime  Start-->
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="580" height="340" >
<param name="src" value="/a/v/GrandTourofEngland.mov" />
<param name="autoplay" value="false" />
<param name="controller" value="true" />
<param name="kioskmode" value="true" />
<object type="video/quicktime" data="/a/v/GrandTourofEngland.mov" width="580" height="340" class="mov">
<param name="controller" value="true" />
You need Apple Quicktime to view this movie.
</object>
</object> <!-- Quicktime End-->
Works fine on all the Macs I have tried, but it crashes the latest version of I.E. on Vista. Any suggestions? It is a large movie, but I don't think that should cause any issues?

What is the safest, cross-platform method? Flash? It would ideally pass the w3c validator too...
 

fingers

macrumors regular
Jan 16, 2004
145
0
London
On a similar vein - anyone know how I can make a site play an mp3 file on load? Preferably with an on/off switch?
This code works (for most users!), an example here: I R C by slumbering.
Code:
<!-- Quicktime  Start-->
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="130" height="20" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="autoplay" value="true" />
<param name="controller" value="true" />
<param name="kioskmode" value="true" />
<param name="src" value="my_music.mp3" />
<embed src="my_music.mp3"
height="20" width="130"
type="video/quicktime"
autoplay="true"
controller="true"
kioskmode="true"
pluginspage="http://www.apple.com/quicktime/download"
/>
</object>
 <!-- Quicktime End-->
I suppose you could use a Javascript body "on load" function too.
 

fab5freddy

macrumors 65816
Original poster
Jan 21, 2007
1,192
0
Heaven or Hell
just gave it some thought, and maybe i could produce a nice flash movie to insert on the html page. I guess it doesn't absolutely have to be quicktime....
flash would work if the player looked really nice.