]> git.parisson.com Git - telecaster-cgi.git/commitdiff
fix video size
authoryomguy <yomguy@parisson.com>
Fri, 24 Feb 2012 11:22:38 +0000 (12:22 +0100)
committeryomguy <yomguy@parisson.com>
Fri, 24 Feb 2012 11:22:38 +0000 (12:22 +0100)
webview.py

index af9cc5e4b80d7d39c0b87d2132444c1abf81baac..b16b4b64146e0cf8266403349b49dee450cb2a79 100644 (file)
@@ -155,7 +155,7 @@ class WebView(FieldStorage):
     def video(self):
         print "<div style=\"float : left;\">"
         
-        print "<video id=\"my_video_1\" class=\"video-js vjs-default-skin\" controls preload=\"auto\" data-setup=\"{}\"><source src=\"http://"+self.ip+":8080/consume/safe\" type=\"video/webm\"></video>"
+        print "<video id=\"my_video_1\" class=\"video-js vjs-default-skin\" controls preload=\"auto\" width=\"360\" height=\"240\" data-setup=\"{}\"><source src=\"http://"+self.ip+":8080/consume/safe\" type=\"video/webm\"></video>"
         print "</div>"
 
     def hardware_data(self):