@@ -0,0 +1,1104 @@
+%0Aclass Video(Widget):%0A%0A    def __init__(self, src=None, **kwargs):%0A        obj = DOM.createElement(%22object%22)%0A        DOM.setAttribute(obj, %22type%22, %22application/x-mplayer2%22)%0A        DOM.setAttribute(obj, %22pluginspage%22,%0A                %22http://www.microsoft.com/windows/windowsmedia/default.aspx%22)%0A        self.setElement(obj)%0A        self.embed = DOM.createElement(%22embed%22)%0A        obj.appendChild(self.embed)%0A%0A        if src:%0A            self.setSrc(src)%0A%0A        Widget.__init__(self, **kwargs)%0A%0A    def setWidth(self, width):%0A        DOM.setAttribute(self.embed, %22width%22, width)%0A%0A    def setHeight(self, height):%0A        DOM.setAttribute(self.embed, %22height%22, height)%0A%0A    def setControls(self, controls):%0A        DOM.setBooleanAttribute(self.embed, %22showcontrols%22, controls)%0A%0A    def setStatusbar(self, statusbar):%0A        DOM.setBooleanAttribute(self.embed, %22showstatusbar%22, statusbar)%0A%0A    def setLoop(self, autorewind):%0A        DOM.setBooleanAttribute(self.embed, %22autorewind%22, autorewind)%0A%0A    def setAutoplay(self, autostart):%0A        DOM.setBooleanAttribute(self.embed, %22autostart%22, autostart)%0A%0A

add mshtml Video tag