Updated external videos renderers
authorThierry Florac <thierry.florac@onf.fr>
Thu, 18 Oct 2018 15:23:33 +0200
changeset 1026 2bc20b979c84
parent 1025 dc64989a9283
child 1027 f5244268e151
Updated external videos renderers
src/pyams_content/component/video/provider/zmi/templates/custom-render.pt
src/pyams_content/component/video/provider/zmi/templates/dailymotion-render.pt
src/pyams_content/component/video/provider/zmi/templates/vimeo-render.pt
src/pyams_content/component/video/provider/zmi/templates/youtube-render.pt
--- a/src/pyams_content/component/video/provider/zmi/templates/custom-render.pt	Thu Oct 18 14:22:59 2018 +0200
+++ b/src/pyams_content/component/video/provider/zmi/templates/custom-render.pt	Thu Oct 18 15:23:33 2018 +0200
@@ -1,3 +1,3 @@
-<div class="video-wrapper">
+<div class="embed-container video-wrapper">
 	<tal:var replace="structure context.integration_code">Integration code</tal:var>
 </div>
--- a/src/pyams_content/component/video/provider/zmi/templates/dailymotion-render.pt	Thu Oct 18 14:22:59 2018 +0200
+++ b/src/pyams_content/component/video/provider/zmi/templates/dailymotion-render.pt	Thu Oct 18 15:23:33 2018 +0200
@@ -1,4 +1,4 @@
-<div class="video-wrapper">
+<div class="embed-container video-wrapper">
 	<iframe type="text/html" class="video" frameborder="0"
 			tal:attributes="src string:https://www.dailymotion.com/embed/video/${context.video_id}?${view.get_url_params()};
 							width context.width;
--- a/src/pyams_content/component/video/provider/zmi/templates/vimeo-render.pt	Thu Oct 18 14:22:59 2018 +0200
+++ b/src/pyams_content/component/video/provider/zmi/templates/vimeo-render.pt	Thu Oct 18 15:23:33 2018 +0200
@@ -1,4 +1,4 @@
-<div class="video-wrapper">
+<div class="embed-container video-wrapper">
 	<iframe type="text/html" class="video" frameborder="0"
 			tal:attributes="src string:https://player.vimeo.com/video/${context.video_id}?${view.get_url_params()};
 							width context.width;
--- a/src/pyams_content/component/video/provider/zmi/templates/youtube-render.pt	Thu Oct 18 14:22:59 2018 +0200
+++ b/src/pyams_content/component/video/provider/zmi/templates/youtube-render.pt	Thu Oct 18 15:23:33 2018 +0200
@@ -1,4 +1,4 @@
-<div class="video-wrapper">
+<div class="embed-container video-wrapper">
 	<iframe type="text/html" class="video" frameborder="0"
 			tal:attributes="src string:https://www.youtube.com/embed/${context.video_id}?${view.get_url_params()};
 							width context.width;