May 27, 2008, 08:16 PM
i have an html file and in it is a table, top row and image. bottow row i want to put an mp4 file, but i have no clue how to embed the file there is no option for anything but flash.
May 28, 2008, 11:38 AM
In DW you use Insert -> Media Plugin and select the media file, but DW installs Netscape generic plugin commands and MP4 is a newer video format so I'd probably not try that.
I have two other solutions for you:
1. Here is HTML code for playing an MP4 in QuickTime (edit sizes, path, filename to suit your needs accordingly, place where you want movie to display):
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160"HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="sample.mp4">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="false">
<EMBED SRC="sample.mp4" WIDTH="160" HEIGHT="144" AUTOPLAY="false" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
2. Encode the video to FLV (Flash) via one of the many free popular converters that also export an SWF file. The user sees a nice looking Flash video player with controls and skin you create using the encoder. The same kind of thing you see on YouTube and million other video sites, the advantage is Flash is more widely supported than QuickTime, you control the interface plus some great features like which frame to show before run, easy to resize, overlay buttons and graphics on top of the video and size and quality optimization for both video and sound depending on the encoder.
Here are various encoder suggestions for Windows and Mac: