CC

CG study (After Effects, Nuke, Maya...), English study and more.

Sunday, June 28, 2009

[etc]-insert a movie and its thumbnail into a HTML document

insert a Quicktime movie and its thumbnail into a HTML document


<div>

<img src="http://Thumbnail file path" height="252" width="420" alt="" style="cursor:pointer;" onClick="this.parentNode.innerHTML = '\x3Cembed src=\'http://Movie file path\' width=\'420\' height=\'252\' autoplay=\'true\' controller=\'true\' type=\'video/quicktime\' scale=\'tofit\' pluginspage=\'http://www.apple.com/quicktime/download/\'\x3E \x3C/embed\x3E';">

</div>

No comments:

Post a Comment