Syntax error
authorThierry Florac <thierry.florac@onf.fr>
Thu, 11 Jan 2018 17:12:00 +0100
changeset 64 73d618e60b73
parent 63 b53d7425076d
child 65 d38220c1116e
Syntax error
src/pyams_media/zmi/templates/video-preview.pt
--- a/src/pyams_media/zmi/templates/video-preview.pt	Thu Jan 11 17:09:00 2018 +0100
+++ b/src/pyams_media/zmi/templates/video-preview.pt	Thu Jan 11 17:12:00 2018 +0100
@@ -10,7 +10,7 @@
 					thumbnails extension:thumbnails(context);
 					conversions extension:conversions(context);
 					size thumbnails.get_image_size();"
-		tal:attributes="poster string:${href}/++thumb++${size[0]}x${size[1]}.png?_=${view/timestamp}">
+		tal:attributes="poster string:${href}/++thumb++${size[0]}x${size[1]}.png?_=${view.timestamp}">
 		<tal:loop repeat="conversion conversions.get_conversions(order=('video/webm','video/mp4','video/x-flv'))">
 			<source type="video/mp4"
 					tal:define="media_width conversions.get_conversion_width(conversion.__name__);