pyams_content.component.video package ⊞¶
-
class
pyams_content.component.video.ExternalVideo[source]¶ Bases:
persistent.Persistent,zope.container.contained.ContainedExternal 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.BaseContentCheckerExternal 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.providerpackage ⊞pyams_content.component.video.zmipackage ⊞
pyams_content.component.video.interfaces¶
-
interface
pyams_content.component.video.interfaces.IExternalVideo[source]¶ Extends:
zope.annotation.interfaces.IAttributeAnnotatableBase interface for external video integration
Author
Name of document’s author
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: str
-
description¶ Associated text
Video description displayed by front-office template
Implementation: pyams_i18n.schema.I18nTextFieldRead Only: False Required: False Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: strValue Type
Implementation: zope.schema.TextRead Only: False Required: False Default Value: None Allowed Type: str
-
provider_name¶ Video provider
Name of external platform providing selected video
Implementation: zope.schema.ChoiceRead 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.IBaseParagraphExternal video paragraph
-
title¶ Legend
Implementation: pyams_i18n.schema.I18nTextLineFieldRead Only: False Required: False Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: strValue Type
Implementation: zope.schema.TextLineRead Only: False Required: False Default Value: None Allowed Type: str
-
renderer¶ Video template
Presentation template used for this video
Implementation: zope.schema.ChoiceRead 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.providerpackage ⊞pyams_content.component.video.zmipackage ⊞