MediaCore的Redturtle视频集成

collective.rtvideo.mediacore的Python项目详细描述


这是plone的RedTurtle Video产品的附加组件。其他文档可以在主产品页面中找到。

将此添加到plone安装中,以便beeing能够使用MediaCore视频链接作为“视频链接”内容类型的有效url。

为了提供来自mediacore的内容,您需要配置一个适配器并指定域名。 可以通过多种方式将适配器添加到应用程序中:

  • directly to the buildout section on a .cfg file (example below):
  • within a configure.zcml in collective.rtvideo.mediacore
  • within an other package which implements redturtle.video.interfaces.IRTRemoteVideo
[instance]
...
eggs =
    collective.rtvideo.mediacore
    ...

zcml-additional =
    <configure xmlns="http://namespaces.zope.org/zope">
        <adapter for = "redturtle.video.interfaces.IRTRemoteVideo zope.publisher.interfaces.browser.IHTTPRequest"
            provides = "collective.rtvideo.mediacore.videoembedcode.IMediaCoreEmbedCode"
            factory = "collective.rtvideo.mediacore.videoembedcode.JWPlayerEmbedCode"
            name= "your.domain"/>
    </configure>

这个插件不是唯一的。 mediacore必须提供一个视图,以json的形式提供一些有关媒体的信息。 有关详细信息,请参见mediacore.mediainfo包。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java语义理解递归反向字符串返回语句   java toString()方法打印空值   java大型IN子句   如何使用JavaSpring在JavaScriptjQuery中设置post路径   java ByteArrayOutputStream已上载到服务器   java为什么轮询在SocketIO上获取数据“无法加载请求的项”?   java源代码应该以UTF8格式保存   Java数据库轮询器?   在Java中将double转换为float   java AccessDeniedException:C:\Windows\System32\drivers\etc\hosts