如何在网站上嵌入私人Dailymotion实时流? [英] How can I embed private dailymotion live stream on the website?
问题描述
我想将Dailymotion的私人实时流嵌入到我的网站中,并且只有我站点上的成员才能看到该实时流。我该怎么办?
I want to embed the private live stream of dailymotion to my website, and only member on my site can see the live stream. How can I do it?
推荐答案
您可以通过使用 embed_url字段(< a href = https://developer.dailymotion.com/api#video-embed_url-field rel = nofollow noreferrer>文档)。
You can retrieve the embed code directly with the API by using the "embed_url" field (Documentation).
例如: https://api.dailymotion.com/video/ {your_stream _id}?fields = embed_url。
您也可以通过合作伙伴空间中的接口获取此代码:
You can also get this code through the interfaces in your partner space:
或直接在流页面:
or directly in the stream page:
然后,您必须管理对您网站上页面的访问嵌入播放器
Then you have to manage the access to the page on your website where you embed the player
这篇关于如何在网站上嵌入私人Dailymotion实时流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!