QuicktimeEmbedTest: Difference between revisions
Jump to navigation
Jump to search
QTObject embed by Geoff Stearns
No edit summary |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Not good (made with iPhoto 09 exports) === | |||
<html> | <html> | ||
Line 15: | Line 16: | ||
</html> | </html> | ||
=== better? (made with [http://blog.deconcept.com/code/qtobject/qtobject_simple.html qtobject_simple]) === | |||
<html> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |||
<title>QTObject embed by Geoff Stearns</title> | |||
<!-- QTObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/ --> | |||
<script type="text/javascript" src="/html/js/qtobject.js"></script> | |||
</style> | |||
</head> | |||
<body> | |||
<p>The Quicktime movie below was embedded using the <a href="http://blog.deconcept.com/2005/01/26/web-standards-compliant-javascript-quicktime-detect-and-embed/ | |||
">QTObject</a> embed method by <a href="http://blog.deconcept.com/">Geoff Stearns</a>.</p> | |||
<p>This is an example of a simple QuickTime movie embed.</p> | |||
<div id="video"> | |||
<script type="text/javascript"> | |||
// <![CDATA[ | |||
// create the qtobject and write it to the page, this includes plugin detection | |||
// be sure to add 15px to the height to allow for the controls | |||
var myQTObject = new QTObject("/wiki/images/8/88/HMGDoom.mov", "foo", "640", "375"); | |||
myQTObject.addParam("autostart", "false"); | |||
myQTObject.write(); | |||
// ]]> | |||
</script> | |||
<noscript> | |||
<p>You must enable Javascript to view this content. <a href="#">(Link to alternate content)</a></p> | |||
</noscript> | |||
</div> | |||
</body> | |||
</html> | |||
=== another try [http://www.alistapart.com/articles/byebyeembed/ idea from here] === | |||
<html> | |||
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" | |||
codebase="http://www.apple.com/qtactivex/qtplugin.cab" | |||
width="640" height="375"> | |||
<param name="src" | |||
value="http://www.wurst-wasser.net//wiki/images/8/88/HMGDoom.mov" /> | |||
<param name="controller" value="true" /> | |||
<param name="autoplay" value="true" /> | |||
<!--[if !IE]>--> | |||
<object type="video/quicktime" | |||
data="http://www.wurst-wasser.net//wiki/images/8/88/HMGDoom.mov" | |||
width="640" height="375"> | |||
<param name="autoplay" value="true" /> | |||
<param name="controller" value="true" /> | |||
</object> | |||
<!--<![endif]--> | |||
</object> | |||
</html> | |||
---- | |||
[[Category:Wiki]] | [[Category:Wiki]] |
Latest revision as of 15:45, 11 March 2011
Not good (made with iPhoto 09 exports)
better? (made with qtobject_simple)
The Quicktime movie below was embedded using the QTObject embed method by Geoff Stearns.
This is an example of a simple QuickTime movie embed.
another try idea from here