2013-08-01 53 views
3

我使用JWPlayer在本地主機JWPlayer刷新頁面錯誤:無法加載插件:未找到文件

這裏是我的代碼:

<div id="Player">loading...</div> 
<script type="text/javascript"> 
jwplayer("Player").setup({ 
    file: "<?php echo $video['path']; ?>", 
    //image: "/test.jpg", 
    displaytitle: false, 
    author: "Mohammad Masoudian", 
    autoStart: false, 
    volume: 75, 
    width: 544, 
    height: 400 
}); 
</script> 

,當我去這個地址http://cms2.localhost.com/video/1/我可以看到視頻,但當我刷新頁面時,我收到此錯誤?

無法加載插件:未找到文件

爲什麼呢?

+0

在我聽起來像你的PHP腳本沒有加載$視頻['path']當你刷新頁面 – Rooster

+0

我檢查它在其他瀏覽器,我認爲它的瀏覽器問題 –

+0

你可以提出一個公開的URL顯示問題? – emaxsaun

回答

0

這不是代碼問題或JWPlayer的問題,我認爲這是Firefox的問題。當我重新啓動瀏覽器的問題就迎刃而解了

相關問題