Dailymotion嵌入视频ui主题并突出显示颜色

时间:2016-03-14 02:08:46

标签: user-interface html5-video dailymotion-api

嗨我需要一个如何更改主题并突出显示新Dailymotion播放器颜色的示例我使用ui-theme和ui-hightlight作为Dailymotion指南指示(link)或者我只是使用突出显示例子说但没有任何反应。

<iframe id="iframe-video" width="16" height="9" src="//www.dailymotion.com/embed/video/x3mfcoi?highlight=FF0000" allowfullscreen></iframe>

1 个答案:

答案 0 :(得分:0)

看起来你没有在你给出的例子中使用正确的参数,这就是它无效的原因。如the documentation中所定义,相关的参数是: - ui-highlight - ui-theme

例如,以下嵌入的高亮颜色设置为#FF0000: http://www.dailymotion.com/embed/video/x2m8jpp_dailymotion-spirit-movie_creation?ui-highlight=FF0000

请注意,您无法设置灯光高亮和灯光主题(类似地,黑暗高亮和黑暗主题),否则控制按钮不可见。您可以在section related to player customisation中详细了解相关信息。