--- a/src/pyams_media/skin/video.py Thu Dec 20 08:42:49 2018 +0100
+++ b/src/pyams_media/skin/video.py Thu Dec 20 09:57:21 2018 +0100
@@ -33,7 +33,7 @@
_render = get_view_template()
- def render(self, context=None, *args, **kwargs):
+ def render(self, context=None, controls=True, *args, **kwargs):
"""Video renderer
Method signature accepts unused *args and **kwargs to match 'picture' TALES extension.
@@ -41,7 +41,8 @@
if context is None:
context = self.context
return render('templates/video.pt', {
- 'video': context
+ 'video': context,
+ 'controls': controls
}, request=self.request)