|
Posted by cwdjrxyz on 12/30/07 03:52
On Dec 29, 8:23 pm, patrick j <usemywebs...@gmail.com> 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.
>
> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="576"
> width="1024">
> <param name="src" value="citizen_kane.mov">
> <param name="autoplay" value="false">
> <param name="controller" value="true">
> <embed height="592" width="1024" src="citizen_kane.mov"
> pluginspage="http://www.apple.com/quicktime/download/"
> type="video/quicktime" controller="true" autoplay="false">
> </object>
>
> 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.
[Back to original message]
|