embed a quicktime video on an html page ?

Discussion in 'Web Design and Development' started by fab5freddy, Jul 16, 2007.

  1. fab5freddy macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #1
    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!
     
  2. LastLine macrumors 65816

    Joined:
    Aug 24, 2005
    #2
    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?
     
  3. jsm4182 macrumors 6502

    Joined:
    Apr 3, 2006
    Location:
    Beacon, NY
    #3
    both your question and the OP's question can be easily solved with the embed tag
     
  4. LastLine macrumors 65816

    Joined:
    Aug 24, 2005
  5. fab5freddy thread starter macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #5
    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.
     
  6. fingers macrumors regular

    fingers

    Joined:
    Jan 16, 2004
    Location:
    London
    #6
    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...
     
  7. fingers macrumors regular

    fingers

    Joined:
    Jan 16, 2004
    Location:
    London
    #7
    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.
     
  8. fab5freddy thread starter macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #8
    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.
     

Share This Page