Commit d46c8b33 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

make extra field works for AudioField and VideoField.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43324 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4344730f
......@@ -55,6 +55,7 @@ class AudioWidget(Widget.TextWidget):
return ''
return Widget.render_element("audio",
src=value,
extra=field.get_value('extra'),
controls=field.get_value('audio_controls'),
loop=field.get_value('audio_loop'),
preload=field.get_value('audio_preload'),
......
......@@ -70,6 +70,7 @@ class VideoWidget(Widget.TextWidget):
return ''
return Widget.render_element("video",
src=value,
extra=field.get_value('extra'),
controls=field.get_value('video_controls'),
loop=field.get_value('video_loop'),
width=field.get_value('video_width'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment