diff -r f4912f6e4cde -r f9cd7d17430e src/pyams_content/component/paragraph/interfaces/video.py --- a/src/pyams_content/component/paragraph/interfaces/video.py Fri Jun 08 17:06:07 2018 +0200 +++ b/src/pyams_content/component/paragraph/interfaces/video.py Fri Jun 08 17:50:09 2018 +0200 @@ -20,7 +20,7 @@ # import packages from pyams_file.schema import VideoField -from pyams_i18n.schema import I18nHTMLField, I18nTextField +from pyams_i18n.schema import I18nTextField, I18nTextLineField from zope.schema import TextLine, Choice from pyams_content import _ @@ -38,8 +38,12 @@ class IVideoParagraph(IBaseParagraph): """Video paragraph""" - body = I18nHTMLField(title=_("Body"), - required=False) + data = VideoField(title=_("Video data"), + description=_("Video file content"), + required=True) + + title = I18nTextLineField(title=_("Legend"), + required=False) description = I18nTextField(title=_("Description"), description=_("File description displayed by front-office template"), @@ -49,10 +53,6 @@ description=_("Name of document's author"), required=False) - data = VideoField(title=_("Video data"), - description=_("Video file content"), - required=True) - renderer = Choice(title=_("Video template"), description=_("Presentation template used for this video"), vocabulary=VIDEO_PARAGRAPH_RENDERERS,