Results 1 to 2 of 2

Thread: embedded Quicktime .mov html attributes question

  1. #1
    Aka Bres subucni's Avatar
    Join Date
    Mar 2004
    Location
    Plymouth, Devon
    Posts
    1,107
    Thanks
    70
    Thanked
    40 times in 27 posts
    • subucni's system
      • Motherboard:
      • Asus A8N32-SLI Deluxe
      • CPU:
      • Athlon 64 X2 4800+
      • Memory:
      • 2gb of generic DDR1 rubbish
      • Storage:
      • Nothing special
      • Graphics card(s):
      • 512mb ATI 4870
      • PSU:
      • Corsair HX520
      • Case:
      • CM Storm Scout
      • Operating System:
      • WinXP 32bit
      • Monitor(s):
      • Dell U2311H + 19" Hanns.G Dual setup
      • Internet:
      • 20mb VirginMedia

    Question embedded Quicktime .mov html attributes question

    Hi guys,

    Just a quick question, i've embedded a quicktime .mov into my site with the below code using a click to play poster .mov, what i'd liked to know is, is there anyway in html of changing the attribute for the href video.mov as all the attributes affect the poster.mov, in particular i'd like to turn kioskmode on for the video.mov. Also, is it possible to make it so that when the video.mov finishes it automatically goes back to showing the poster.mov image?



    <!-- begin embedded QuickTime file... -->
    <table border='0' cellpadding='0' align="center">
    <!-- begin video window... --> <tr><td> <OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width="480" height="285" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
    <param name="src" value="poster.mov">
    <param name="href" value="video.mov">
    <param name="target" value="myself">
    <param name="autoplay" value="false">
    <param name="controller" value="true">
    <param name="loop" value="false">
    <param name="kioskmode" value="true">
    <param name="bgcolor" value="#000000">
    <EMBED src="poster.mov" href="video.mov" target="myself" width="480" height="285" autoplay="false" controller="true" loop="false" kioskmode="true" bgcolor="#000000" pluginspage='http://www.apple.com/quicktime/download/'>
    </EMBED>
    </OBJECT> </td></tr>
    <!-- ...end embedded QuickTime file -->
    </table>


    Thanks for the help
    Bres

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Stafford, West Midlands
    Posts
    642
    Thanks
    3
    Thanked
    0 times in 0 posts

    Re: embedded Quicktime .mov html attributes question

    I'm not entirely sure on how to do everything you have asked for but this link from the apple web site goes over and explains every quicktime tag attribute:

    QuickTime: Embed Tag Attributes

    Hopefully with that information you can solve your problem.

    The way you are currently embedding your quicktime movie will cause that stupid "click here to active" message, to solve this you can use javascript to embedd your video. This is actually quite simple:

    Download AC_Quicktime.JS from here (the link is about half way down) Put that file in the same location as your html file.

    Then add this to the head of your html
    Code:
    <script src="AC_QuickTime.js" language="JavaScript" type="text/javascript">
    </script>
    And when you want to embedd a quicktime movie, simply add this code:

    Code:
    <script language="JavaScript" type="text/javascript">
    QT_WriteOBJECT('MOVIENAMEHERE.mov','WIDTH IN PIXELS','HEIGHT IN PIXELS (ADD 16 PIXELS TO INCLUDE TIME BAR AT BOTTOM IF YOU WANT TO SHOW IT)','',
    'autostart','true',
    'name', 'movie',
    'qtsrcdontusebrowser', 'true',
    'bgcolor', '080808',
    'showlogo', 'false');
    </script>
    You can see from there that its easy to add more attributes by simply adding 'something','do something', in between the script tags.

    Hope some of that is helpful.

    Tim

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 14
    Last Post: 23-08-2006, 07:31 PM
  2. Me Again, HTML Form Question This Time
    By Vini in forum Software
    Replies: 19
    Last Post: 05-10-2005, 10:57 AM
  3. Silly HTML question
    By XA04 in forum Software
    Replies: 7
    Last Post: 16-05-2005, 03:04 PM
  4. simple html question
    By Jimmy Little in forum Software
    Replies: 9
    Last Post: 20-09-2004, 10:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •