Web Video forms

Here’s an idea for creating easy web video widgets. It could likely use XUL and SVG.

<?xml version=”1.0″?>
<?xml-stylesheet href=”chrome://global/skin” type=”text/css”?>

<window title=”XUL Video”
        xmlns:html=”http://www.w3.org/1999/xhtml&#8221;
        xmlns=”http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul”&gt;
   <vbox align=”center”>
<video src=”width: 200px; height: 200px” src=”images/betty_boop.ogg” />
<button flex=”1″ image=”images/playbutton.jpg”
       onclick=”Play(‘myVideo’);” />
<groupbox>
  <caption label=”determined” />
   <progressmeter id=”my-progressmeter” mode=”determined” value=”10″ progressscrollbutton=”images/progressscrollbutton.jpg” />
  </groupbox>
<button image=”images/stopbutton.jpg”
       onclick=”Play(‘myVideo’);” />
</vbox>
</window>

Leave a comment