src/pyams_content/component/paragraph/video.py
changeset 598 f9cd7d17430e
parent 585 9fa8e9776bda
child 967 1be26c1585fd
equal deleted inserted replaced
597:f4912f6e4cde 598:f9cd7d17430e
    41     """Video paragraph class"""
    41     """Video paragraph class"""
    42 
    42 
    43     icon_class = 'fa-film'
    43     icon_class = 'fa-film'
    44     icon_hint = VIDEO_PARAGRAPH_NAME
    44     icon_hint = VIDEO_PARAGRAPH_NAME
    45 
    45 
    46     body = FieldProperty(IVideoParagraph['body'])
    46     data = FileProperty(IVideoParagraph['data'])
    47     description = FieldProperty(IVideoParagraph['description'])
    47     description = FieldProperty(IVideoParagraph['description'])
    48     author = FieldProperty(IVideoParagraph['author'])
    48     author = FieldProperty(IVideoParagraph['author'])
    49     data = FileProperty(IVideoParagraph['data'])
       
    50     renderer = FieldProperty(IVideoParagraph['renderer'])
    49     renderer = FieldProperty(IVideoParagraph['renderer'])
    51 
    50 
    52 
    51 
    53 @utility_config(name=VIDEO_PARAGRAPH_TYPE, provides=IParagraphFactory)
    52 @utility_config(name=VIDEO_PARAGRAPH_TYPE, provides=IParagraphFactory)
    54 class VideoParagraphFactory(BaseParagraphFactory):
    53 class VideoParagraphFactory(BaseParagraphFactory):