5
ページに複数の動画があります。HTMLビデオにバッファリングを追加する方法
<div class="row text-center">
<video width="320" height="240" controls class="myvideo">
<source src="http://www.html5videoplayer.net/videos/toystory.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<div class="row text-center">
<video width="320" height="240" controls class="myvideo">
<source src="http://www.html5videoplayer.net/videos/fantasy.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
バッファリングイベントを追加します。また、ビデオ1をクリックすると、ビデオ2(再生している場合)が自動的に停止するはずです。どうすればこれを達成できますか?彼らは共通のクラスを持っています。私はそれらとidsを実装する必要がありますか?あなたの動画へ
私は自分の動画にローダーを取得傾けます。 –
ビデオローダー用のjqueryを追加しました。そのためにgifを使用できます – Simo