“Flowplayer API”模块有点问题。我在模块列表中激活它,在我的节点模板中我使用“flowplayer_add”函数来嵌入我的视频/音频。
奇怪的是没有加载Flowplayer的css或js...
也许你有这个答案。
注意我已经尝试删除所有其他 js 文件以避免冲突,但没有任何改变。
最佳答案
关于 the help section他们解释了 theme('flowplayer') 和 flowplayer_add() 之间的区别:
Calling theme('flowplayer') will not only add the correct JavaScript to the page, but also construct the markup for you.
Using flowplayer_add requires you to already have the markup created.
即在 flowplayer_add() 的情况下,您必须像这样设置 HTML:
<a href="http://my-site.com/my-video.mp4" id="player"></a>
页面上您希望视频出现的位置。
希望对你有帮助
关于javascript - 德鲁巴 : Flowplayer API not loaded,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7144841/