【发布时间】:2021-01-28 05:25:56
【问题描述】:
是否可以从页面中已经存在的 iframe 中获取播放器并使用其 api?
<iframe id="dir" src="http://www.dailymotion.com/embed/video/xx9c3g?api=1" width="640" height="360" frameborder="0"></iframe>
他们的文档描述了如何创建播放器,但如果 iframe 已经在页面中,我找不到如何使用的示例:
https://developer.dailymotion.com/player/#embed-sdk-js-how-to
【问题讨论】: