pyams_content.component.video
package ⊞¶
-
class
pyams_content.component.video.
ExternalVideo
[source]¶ Bases:
persistent.Persistent
,zope.container.contained.Contained
External video persistent class
Author: Name of document’s author
-
description
¶ Associated text: Video description displayed by front-office template
-
provider_name
¶ Video provider: Name of external platform providing selected video
-
settings
¶
-
class
pyams_content.component.video.
ExternalVideoContentChecker
(context)[source]¶ Bases:
pyams_content.features.checker.BaseContentChecker
External video content checker
-
label
= 'External video'¶
-
weight
= 50¶
-
-
pyams_content.component.video.
external_video_settings_factory
(context)[source]¶ External video settings factory
Subpackages¶
pyams_content.component.video.provider
package ⊞pyams_content.component.video.zmi
package ⊞
pyams_content.component.video.interfaces
¶
-
interface
pyams_content.component.video.interfaces.
IExternalVideo
[source]¶ Extends:
zope.annotation.interfaces.IAttributeAnnotatable
Base interface for external video integration
Author
Name of document’s author
Implementation: zope.schema.TextLine
Read Only: False Required: True Default Value: None Allowed Type: str
-
description
¶ Associated text
Video description displayed by front-office template
Implementation: pyams_i18n.schema.I18nTextField
Read Only: False Required: False Default Value: None Allowed Type: dict
Key Type
Implementation: zope.schema.TextLine
Read Only: False Required: True Default Value: None Allowed Type: str
Value Type
Implementation: zope.schema.Text
Read Only: False Required: False Default Value: None Allowed Type: str
-
provider_name
¶ Video provider
Name of external platform providing selected video
Implementation: zope.schema.Choice
Read Only: False Required: False Default Value: None
-
get_provider
(self)¶ Get external video provider utility
-
settings
¶ Video settings
-
interface
pyams_content.component.video.interfaces.
IExternalVideoParagraph
[source]¶ Extends:
pyams_content.component.video.interfaces.IExternalVideo
,pyams_content.component.paragraph.interfaces.IBaseParagraph
External video paragraph
-
title
¶ Legend
Implementation: pyams_i18n.schema.I18nTextLineField
Read Only: False Required: False Default Value: None Allowed Type: dict
Key Type
Implementation: zope.schema.TextLine
Read Only: False Required: True Default Value: None Allowed Type: str
Value Type
Implementation: zope.schema.TextLine
Read Only: False Required: False Default Value: None Allowed Type: str
-
renderer
¶ Video template
Presentation template used for this video
Implementation: zope.schema.Choice
Read Only: False Required: True Default Value: ‘default’
-
-
interface
pyams_content.component.video.interfaces.
IExternalVideoProvider
[source]¶ External video provider
-
label
¶ Video provider label
-
weight
¶ Video provider weight (used for ordering)
-
settings_interface
¶ Video provider settings interface
-
pyams_content.component.video.paragraph
¶
Subpackages¶
pyams_content.component.video.provider
package ⊞pyams_content.component.video.zmi
package ⊞