Updated
This commit is contained in:
48
master/examples/testVideoPlayer.html
Normal file
48
master/examples/testVideoPlayer.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<!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>dojox.av.widget.Player</title>
|
||||
<style type="text/css">
|
||||
@import "../../../dojo/resources/dojo.css";
|
||||
@import "../../../dijit/tests/css/dijitTests.css";
|
||||
</style>
|
||||
<link href="../widget/resources/Player.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script>
|
||||
djConfig={
|
||||
isDebug:true,
|
||||
parseOnLoad:true,
|
||||
debugAtAllCosts:true,
|
||||
popup:true
|
||||
}
|
||||
</script>
|
||||
<script src="../../../dojo/dojo.js"></script>
|
||||
<script>
|
||||
dojo.require("dojo.parser");
|
||||
dojo.require("dojox.av.FLVideo");
|
||||
dojo.require("dojox.av.widget.Player");
|
||||
dojo.require("dojox.av.widget.PlayButton");
|
||||
dojo.require("dojox.av.widget.VolumeButton");
|
||||
dojo.require("dojox.av.widget.ProgressSlider");
|
||||
dojo.require("dojox.av.widget.Status");
|
||||
console.log("ready")
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1>dojox.av.widget.Player</h1>
|
||||
<div dojoType="dojox.av.widget.Player" playerWidth="100%">
|
||||
<!--testing download progress: "https://user.sitepen.com/~mwilcox/dojotoolkit/dojox/av/tests/video/Grog.flv" -->
|
||||
<div controlType="video" initialVolume=".1"
|
||||
mediaUrl="video/Grog.flv" autoPlay="true" isDebug="false" dojoType="dojox.av.FLVideo"></div>
|
||||
|
||||
<div controlType="play" dojoType="dojox.av.widget.PlayButton"></div>
|
||||
<div controlType="volume" dojoType="dojox.av.widget.VolumeButton"></div>
|
||||
<div controlType="progress" dojoType="dojox.av.widget.ProgressSlider"></div>
|
||||
<div controlType="status" dojoType="dojox.av.widget.Status"></div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user