DogAndPony
06-13-2005, 04:43 AM
Hey, folks...
I'm trying to embed a client's Quicktime MPEG-4 (.mp4) demo reel into a page on his site, but it won't play while embedded in the page.
I'm using Apple's example code specifically for embedding an MPEG-4:
<OBJECT
CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"
WIDTH="320" HEIGHT="264" >
<PARAM NAME="src" VALUE="demoreel.mp4" >
<PARAM NAME="AutoPlay" VALUE="true" >
<PARAM NAME="Controller" VALUE="true" >
<EMBED SRC="QTMimeType.mov" TYPE="video/quicktime"
PLUGINSPAGE="http://www.apple.com/quicktime/download"
QTSRC="demoreel.mp4" WIDTH="320" HEIGHT="264"
AUTOPLAY="true" CONTROLLER="true" >
</EMBED>
</OBJECT>(Note the use of the QTMimeType.mov file... followed by the QTSRC: parameter with the real file URL... which is what Apple says to do to display a non-QT file.).
While I can open the clip in my browser from my HD, when I first tried to look at it directly on the server, the browser offered to download it or play it in the Quicktime Player app... Which works fine. But it wouldn't play it in the browser.
So I wondered if it was a MIME type thing, and added the type to the directory's .htaccess file.
Then the clip was able to play directly in the browser... But still not when embedded in the page. Forced-refresh, browser cache clearing and reopening the browser app didn't help.
Anyone have any clues? Am I missing a typo or something in the code?
I could get the client to give me a .mov of the reel, but I'd like to avoid forcing him to take the time to re-render and re-compress it in Final Cut / Compressor again.
Then again, if we need to for compatibility, we'll do that...
TIA!
I'm trying to embed a client's Quicktime MPEG-4 (.mp4) demo reel into a page on his site, but it won't play while embedded in the page.
I'm using Apple's example code specifically for embedding an MPEG-4:
<OBJECT
CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"
WIDTH="320" HEIGHT="264" >
<PARAM NAME="src" VALUE="demoreel.mp4" >
<PARAM NAME="AutoPlay" VALUE="true" >
<PARAM NAME="Controller" VALUE="true" >
<EMBED SRC="QTMimeType.mov" TYPE="video/quicktime"
PLUGINSPAGE="http://www.apple.com/quicktime/download"
QTSRC="demoreel.mp4" WIDTH="320" HEIGHT="264"
AUTOPLAY="true" CONTROLLER="true" >
</EMBED>
</OBJECT>(Note the use of the QTMimeType.mov file... followed by the QTSRC: parameter with the real file URL... which is what Apple says to do to display a non-QT file.).
While I can open the clip in my browser from my HD, when I first tried to look at it directly on the server, the browser offered to download it or play it in the Quicktime Player app... Which works fine. But it wouldn't play it in the browser.
So I wondered if it was a MIME type thing, and added the type to the directory's .htaccess file.
Then the clip was able to play directly in the browser... But still not when embedded in the page. Forced-refresh, browser cache clearing and reopening the browser app didn't help.
Anyone have any clues? Am I missing a typo or something in the code?
I could get the client to give me a .mov of the reel, but I'd like to avoid forcing him to take the time to re-render and re-compress it in Final Cut / Compressor again.
Then again, if we need to for compatibility, we'll do that...
TIA!