Thursday, April 7, 2011

Play MOV file in your HTML

 Someone asked me today how we can play MOV file. Below is the code.

Enjoy!



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320">

<param name="src" value="http://ia600407.us.archive.org/10/items/gspmovvideotestIMG0021mov/IMG_0021.mov">
<param name="autoplay" value="true">
<param name="type" value="video/quicktime" height="256" width="320">

<embed src="http://ia600407.us.archive.org/10/items/gspmovvideotestIMG0021mov/IMG_0021.mov" height="256" width="320" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/">

</object>
</body>
</html>

Download the code from here:

http://bestwebpartners.com/BlogData/video.html

No comments:

Post a Comment