Browse Source

housekeeping (missed to commit some stuff before)

Roberto Saccon 17 years ago
parent
commit
f3954bd366
3 changed files with 23 additions and 27 deletions
  1. 22 1
      demo/out/test_tags.html
  2. 1 1
      demo/templates/test_tags.html
  3. 0 25
      tags/flashvideo.html

+ 22 - 1
demo/out/test_tags.html

@@ -6,7 +6,28 @@
   </head>
   <body>
 	before
-	not_fully_implemented_yet
+	
+<object id="myvideo" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="600">
+	<param name="movie" value="/static/mediaplayer.swf">
+    <param name="allowfullscreen" value="true">
+    <param name="menu" value="false">
+    <param name="flashvars" value="file=/static/myvideo.mp4&image=/static/mypreview.jpg">
+    <!--[if !IE]>-->
+    <object type="application/x-shockwave-flash" data="/static/mediaplayer.swf" width="800" height="620">
+    <param name="allowfullscreen" value="true">
+    <param name="menu" value="false">
+    <param name="flashvars" value="file=/static/myvideo.mp4&image=/static/mypreview.jpg">
+    <!--<![endif]-->
+    <h2>To view the Video:</h2>
+    <p>
+    	<a href="http://www.adobe.com/go/getflashplayer">
+        	<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"alt="Get Adobe Flash player">
+    	</a>
+    </p>
+    <!--[if !IE]>-->
+    </object>
+    <!--<![endif]-->
+</object>
 	after
   </body>
 </html>

+ 1 - 1
demo/templates/test_tags.html

@@ -6,7 +6,7 @@
   </head>
   <body>
 	before
-	{% flashvideo test.swf 800 600 %}
+	{% flashvideo myvideo 800 600 /static /static/myvideo.mp4 /static/mypreview.jpg  %}
 	after
   </body>
 </html>

+ 0 - 25
tags/flashvideo.html

@@ -1,25 +0,0 @@
-{# Embedding flash video
-                                              
-   flashvideo(width, height, static, path_to_video, path_to_preview_image) 
-#}
-<object id="{{ dom_id }}" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{{ width }}" height="{{ height }}">
-	<param name="movie" value="{{ static }}/mediaplayer.swf">
-    <param name="allowfullscreen" value="true">
-    <param name="menu" value="false">
-    <param name="flashvars" value="file={{ path_to_video }}&image={{ path_to_preview_image }}">
-    <!--[if !IE]>-->
-    <object type="application/x-shockwave-flash" data="{{ static }}/mediaplayer.swf" width="800" height="620">
-    <param name="allowfullscreen" value="true">
-    <param name="menu" value="false">
-    <param name="flashvars" value="file={{ path_to_video }}&image={{ path_to_preview_image }}">
-    <!--<![endif]-->
-    <h2>To view the Video:</h2>
-    <p>
-    	<a href="http://www.adobe.com/go/getflashplayer">
-        	<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"alt="Get Adobe Flash player">
-    	</a>
-    </p>
-    <!--[if !IE]>-->
-    </object>
-    <!--<![endif]-->
-</object>