equal
deleted
inserted
replaced
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): |