dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
30 lines (29 loc) • 1.03 kB
HTML
<html>
<head>
<title>dojox.embed.Object Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
@import "../../../dojo/resources/dojo.css";
@import "../../../dijit/tests/css/dijitTests.css";
#flashTest {
border: 1px solid blue;
width: 400px;
height: 500px;
}
</style>
<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="parseOnLoad: true, isDebug: true"></script>
<script type="text/javascript">
dojo.require("dojox.embed.Object");
dojo.require("dojo.parser");
</script>
</head>
<body>
<h1>dojox.embed.Object</h1>
<p>
This is a test for the embedder widget.
</p>
<div dojoType="dojox.embed.Object" src="resources/sample.3gp" width="176" height="144"></div>
<div dojoType="dojox.embed.Object" src="resources/hfp.swf" style="float:right;width:100px;height:100px;border:1px solid black;"></div>
<div id="flashTest" dojoType="dojox.embed.Object" src="resources/hfp.swf"></div>
</body>
</html>