Updated default video renderer
authorThierry Florac <thierry.florac@onf.fr>
Thu, 18 Oct 2018 15:24:22 +0200
changeset 186 a5bff486fe82
parent 185 32037c8b91e4
child 187 7703779a6b50
Updated default video renderer
src/pyams_default_theme/component/paragraph/templates/video-default.pt
--- a/src/pyams_default_theme/component/paragraph/templates/video-default.pt	Thu Oct 18 15:07:09 2018 +0200
+++ b/src/pyams_default_theme/component/paragraph/templates/video-default.pt	Thu Oct 18 15:24:22 2018 +0200
@@ -2,15 +2,9 @@
 	tal:content="view.title">title</h3>
 <div tal:condition="view.description"
 	 tal:content="structure tales:html(view.description)">Description</div>
-<div class="flowplayer"
-	 data-ams-plugins="flowplayer"
-	 data-ams-plugin-flowplayer-async="false"
-	 data-ams-callback="PyAMS_media.initPlayer"
-	 tal:condition="view.data"
-	 tal:attributes="data-ams-plugin-flowplayer-src tales:resource_path('pyams_media.skin:flowplayer');
-					 data-ams-plugin-flowplayer-css tales:resource_path('pyams_media.skin:functional_css');
-					 data-ams-callback-source tales:resource_path('pyams_media.skin:pyams_media');">
-	<video
+<div class="video-wrapper"
+	 tal:condition="view.data">
+	<video controls
 		tal:define="video view.data;
 					href tales:absolute_url(video);
 					thumbnails tales:thumbnails(video);