Embedding QuickTime movie

Embedding QuickTime movie

am 30.12.2007 03:23:55 von patrick j

Hi

I'm trying to get a QuickTime movie to work in various browsers which is in
a very simple web-page.

Below is the code I'm using to embed the movie.

codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="576"
width="1024">



pluginspage="http://www.apple.com/quicktime/download/"
type="video/quicktime" controller="true" autoplay="false">



It works very well in Safari but not in FireFox, nor in iCab or Camino or
IE 7.

I'm wondering what the problem might be?

Thank you for any assistance you may be able to give.


--
Patrick - Brighton, UK
If you wish email me from my web-site:

Re: Embedding QuickTime movie

am 30.12.2007 04:52:03 von cwdjrxyz

On Dec 29, 8:23 pm, patrick j wrote:
> Hi
>
> I'm trying to get a QuickTime movie to work in various browsers which is in
> a very simple web-page.
>
> Below is the code I'm using to embed the movie.
>
> > codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="576"
> width="1024">
>
>
>
> > pluginspage="http://www.apple.com/quicktime/download/"
> type="video/quicktime" controller="true" autoplay="false">
>

>
> It works very well in Safari but not in FireFox, nor in iCab or Camino or
> IE 7.
>
> I'm wondering what the problem might be?

Is the .mov hinted? If not, it will not start playing until completely
downloaded, which could be quite a while if the download is not very
fast, because .mov files tend to be fairly large in many cases. If you
encode with many encoders, the .mov resulting is not hinted. If you
have the pay/pro version of the QT player, it is easy to hint a .mov.
You just open your .mov in QT Pro and then store it somewhere else
with a slightly different name. The stored .mov file then will be
hinted( have data to make the .mov stream before download is
complete). All embedded .mov files, except very short ones, should be
hinted before being embedded on a web page.

The object code you use often is used, but it is invalid because it
contains embed which has never been a W3C tag. There may or may not be
something else wrong with the code that causes it not to work(if it
truly does not work after a long wait when the .mov is not hinted).

Here is how I embed a .mov. Go to my page at http://www.cwdjr.info/video_extreme/cancanMOV.php
.. This works for me on IE6 and the latest versions of Firefox,
Seamonkey, Safari for Windows, and Opera. The .mov is hinted and the
movie is set not to start automatically. The dark download bar is
filled in dark color as the .mov is downloaded. If your download speed
is high enough to keep ahead of the rate needed by the .mov, then you
can click to play at any time. If download is too slow, you can still
start the movie, but it will pause when it catches up with the
download. The movie is designed for high broadband. I usually can get
4 to 5 Mbps in the US with the server being located in the central US.
Such fast download is not possible in many other parts of the world.

If you do not serve code as true xhtml with mime type application/xhtml
+xml associated with an extension such as .xhtml , then view the page
on IE to view the source code in html 4.01 strict. Notice that the
simple object code has an ActiveX path that is taken only for IE and
close relatives. Most other browsers do not support ActiveX, which is
supposed to be handled by the embed code you use. However an ordinary
object will serve for these other browsers. Microsoft conditional
comments are used to select the ActiveX path only for IE and close
relative browsers.

Re: Embedding QuickTime movie

am 30.12.2007 18:00:58 von Steven Platt

On 12/29/07 9:23 PM, patrick j wrote:


> I'm trying to get a QuickTime movie to work in various browsers which is in
> a very simple web-page.
>
> It works very well in Safari but not in FireFox, nor in iCab or Camino or
> IE 7.
> [...]
> I'm wondering what the problem might be?
>
> Thank you for any assistance you may be able to give.
>
>
Patrick,
As you've discovered, the current versions of IE don't work with this
method. It now requires a Javascript stub, and obviously, Javascript
enabled on the browser. This new method will work in all browsers. No
need for any IE-specific code.

There's a good explanation of this at:

http://www.barebones.com/products/bbedit/embedtag.shtml

If you've got a number of pages with the style code to convert,
the BBEdit script will do the job nicely (it does require BBEdit which
runs only a Mac).

The description of the code conversion process is excellent at this
site, even if you can't use the tool. There are links to both the Apple
and Microsoft's discussions on this topic as well.

You can certainly alter the user warning message (inside the