UNPKG

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.

49 lines (43 loc) 1.71 kB
<!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>