Results 1 to 12 of 12

Thread: Quicktime on site

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Quicktime on site

    I have a 8mb quicktime movie that I currently have up on my site available for download. Is there a way to have that movie loaded on the site so that when someone comes to the site they can look at it directly?

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Quicktime on site

    Sure - you use the <object> tag to place it directly on the page where it will be displayed as a streaming video

    Have a look here - it's for XHTML but it works also in HTML.

    You'll notice that most of the page deals with fixing silly problems with using it in IE. In web development you soon get used to that.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Quicktime on site

    This is exactly what I was looking for. But it only works in IE, doesnt work on Opera or Firefox. I have Firefox 5.0 and Opera 8.51 and the page doesnt even want to load. Any ideas?

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Quicktime on site

    I have Firefox 5.0
    Well, you're ahead of me...

    The link doesn't load? It does here, but then I don't have QT Maybe your plugin is broken... care to redownload it and try again?

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Quicktime on site

    Whooops!! Thats Firefox 1.0


    I dont mean the link that you gave me but my Quicktime movie on my site.

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Quicktime on site

    Righteyo then... Did you make sure the class ID and codebase parameters of the outer tag were the exact same as in the example? It seems to me if it is working in IE but not in Firefox and Opera, that the problem lies with the inner tag, that is used by browsers that do not support ActiveX (in other words, everything except IE). Yet I cannot see anything wrong with it...

    Can you post the code you used yourself?

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Quicktime on site

    Here is the code. I really didnt change much from the original code. All I changed was the movie folder and the width and height of the window. Does the class id pertain to a specific movie? Or is it generic? Do I have to use a different doctype?


    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    <html>
    <head>
    	<title>Gatorade</title>
    <style type="text/css">
    object.mov {
        display: none;
    }
    * html object.mov {
        display: none;
    }
    * html object.mov {
        display/**/: none;
    }
    /* hides the second object from all versions of IE */
    * html object.mov {
        display: none;
    }
    
    /* displays the second object in all versions of IE apart from 5 on PC */
    * html object.mov/**/ {
        display: inline;
    }
    
    /* hides the second object from all versions of IE >= 5.5 */
    * html object.mov {
        display/**/: none;
    }
    </style>
    </head>
    
    <body>
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="400" height="240">
     <param name="src" value="../gatorade.mov" />
     <param name="controller" value="true" />
     <object type="video/quicktime" data="../gatorade.mov" width="400" height="240" class="mov">
      <param name="controller" value="true" />
      Error text.
     </object>
    </object>
    
    
    </body>
    </html>

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Quicktime on site

    I see only one problem. You are using HTML transitional, so the param tag should not be closed. They should look like this:
    HTML Code:
    <param name="src" value="../gatorade.mov">
    That *might* be the problem, because it's the only thing that jumps out as being wrong. The class id is purely for Internet Explorer, it refers to the ActiveX control class ID of the Quicktime player.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Quicktime on site

    Well that was worth a try. But when I remove the / and make the param look like this <param name="src" value="../gatorade.mov"> then it gives me the Error Text in IE.

  10. #10
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Quicktime on site

    Grr.

    Does the inner <object> tag work by itself in Firefox and Opera?

    e.g.
    HTML Code:
    <object type="video/quicktime" data="../gatorade.mov" width="400" height="240" class="mov">
      <param name="controller" value="true" />
      Error text.
     </object>
    And, if it does - do you have any kind of server-side scripting like PHP available? If so, then we can do a quick test and send IE the other tag. It would be a lot simpler.

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Quicktime on site

    Nope the inner object doesnt work by itself in any of the browsers. It give me the same error that I was receiving before: Error Text.

    I believe the server that I will be hosting it on does have PHP capabilities.

  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Quicktime on site

    Penagate,

    I finally got it to work in firefox. Works fine in Opera, IE, and FireFox.

    Only thing that is different is
    HTML Code:
    <param name="autoplay" value="true">
    and instead of using another object tag I took advantage of the embed tag.

    Here is the code:
    HTML Code:
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400"
    height="240" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="src" value="../gatorade.mov">
    <param name="autoplay" value="true">
    <param name="controller" value="true">
    <embed src="../gatorade.mov" width="400" height="240" autoplay="true"
    controller="true"
    pluginspage="http://www.apple.com/quicktime/download/">
    </embed>
    </object>
    Thanks for you help

Posting Permissions

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



Click Here to Expand Forum to Full Width