最初のビデオは正常に動作しますが、残りは表示されません。ビデオへの URL はデータベースから取得されています。URL がデータベースから取得されたページに複数のビデオが配置されている可能性があります。「whileループ」内にjavascriptを配置しようとしましたが、何も機能しませんでした(または、何か間違ったことをしたのかもしれません)
while($row = mysql_fetch_assoc($query12))
{
echo"<a
href='$urls'
style='display:block;width:520px;height:330px'
id='player'>
</a>
<br/>
<br/>";
}
これにより、前の A- タグ内に flowplayer がインストールされます。
<script>
flowplayer("player", {
src:"flowplayer-3.2.16.swf",
wmode: "opaque" // This allows the HTML to hide the flash content
}, {
clip: {
autoPlay: false
}
});
</script>