source: Dev/branches/rest-dojo-ui/client/dojox/av/tests/testVideoPlayer.html @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 1.7 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5<title>dojox.av.widget.Player</title>
6<style type="text/css">
7        @import "../../../dojo/resources/dojo.css";
8        @import "../../../dijit/tests/css/dijitTests.css";
9</style>
10<link href="../widget/resources/Player.css" rel="stylesheet" type="text/css" />
11
12<script>
13        djConfig={
14                isDebug:true,
15                parseOnLoad:true,
16                debugAtAllCosts:true,
17                popup:true
18        }
19</script>
20<script src="../../../dojo/dojo.js"></script>
21<script>
22dojo.require("dojo.parser");
23dojo.require("dojox.av.FLVideo");
24dojo.require("dojox.av.widget.Player");
25dojo.require("dojox.av.widget.PlayButton");
26dojo.require("dojox.av.widget.VolumeButton");
27dojo.require("dojox.av.widget.ProgressSlider");
28dojo.require("dojox.av.widget.Status");
29console.log("ready")
30</script>
31
32</head>
33<body>
34<h1>dojox.av.widget.Player</h1>
35    <div dojoType="dojox.av.widget.Player" playerWidth="100%">
36        <!--testing download progress: "https://user.sitepen.com/~mwilcox/dojotoolkit/dojox/av/tests/video/Grog.flv" -->
37        <div controlType="video" initialVolume=".1"
38                        mediaUrl="video/Grog.flv" autoPlay="true" isDebug="false" dojoType="dojox.av.FLVideo"></div>
39       
40        <div controlType="play" dojoType="dojox.av.widget.PlayButton"></div>
41        <div controlType="volume" dojoType="dojox.av.widget.VolumeButton"></div>
42        <div controlType="progress" dojoType="dojox.av.widget.ProgressSlider"></div>
43        <div controlType="status" dojoType="dojox.av.widget.Status"></div>
44   
45    </div>
46
47</body>
48</html>
Note: See TracBrowser for help on using the repository browser.