Attach MP4 Video to My Site

Is there a way to display MP4 videos in their original size. It looks like we should provide the width and height, and if we do not, then by default a different value will be used, different from the original.

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="160" HEIGHT="136" >
<PARAM NAME="src" VALUE="videofilename_mp4.mov" >
<PARAM NAME="autoplay" VALUE="true" >
<EMBED SRC="videofilename_mp4.mov" TYPE="image/x-macpaint" 
PLUGINSPAGE="http://www.apple.com/quicktime/download" WIDTH="160" HEIGHT="136" AUTOPLAY="true"></EMBED>
</OBJECT>
+3
source share
1 answer

If I remember correctly, you will have to read it from metadata. I am currently using the free version of Flowplayer.

You can pass it the "scale: fit" option http://flowplayer.org/documentation/api/clip.html

This tells Flash Flowplayer to read the file metadata and scale the video to fit the size of the game container.

I know that you probably do not want a flash solution, but this is an option.

0
source

All Articles