我已經下載了文件,並按照提供的步驟,但玩家根本不工作。jwplayer不工作
<code>
<html>
<head>
<script type="text/javascript" src="/jwplayer.js"></script>
<script type="text/javascript" src="/jquery.js"></script>
</head>
<body>
<div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container").setup({
flashplayer: "/player.swf",
file: "/video.mp4",
height: 270,
width: 480
});
</script>
</body>
</html>
</code>
它顯示的只是「加載播放器」。正如你所看到的,我已經鏈接了JWplayer和jQuery腳本。我錯過了什麼?任何幫助將不勝感激。我使用web表達式...當我嘗試按照jwplayer鏈接「jwplayer(容器)」時,我說無法找到鏈接。
你可以發佈什麼錯誤,你的調試器顯示?另外,player.swf,video.mp4 jwplayer.js和jquery.js文件位於何處?您是否可以使用http://example.com/player.swf等在地址欄中訪問它們? – jmort253 2012-04-08 20:14:52
嘗試在'src'屬性中使用相對地址或嘗試使用〜/作爲主屬性。 – 2012-04-08 20:18:03
jwplayer未定義 http://irvinetireoutlet.com/landslide.html 第35行.............................. ............................這就是我雖然問題是... – Amnesiac11 2012-04-08 21:59:01