ビデオプレーヤーアイコンエフェクト video-player-icon-effect
再生アイコンは、ビデオ表示領域に重ねて表示されます。 ビデオが一時停止したとき、またはビデオの最後に達したときに表示されます。また、iconeffect パラメーターの設定によって表示されます。
再生アイコンの外観は、以下の CSS クラスセレクターを使用して制御します。
.s7mixedmediaviewer . s7videoplayer .s7iconeffect
再生アイコンの CSS プロパティ
アイコンエフェクトは、 state
属性セレクターを使用します。 セレクター state="play"
は、再生中にビデオが一時停止されたときに使用され、 state="replay"
は、再生ヘッドがストリームの最後にある場合に使用されます。
例 section-e8caea0a303c425a8a637c2a47c06355
100 x 100 ピクセルの再生アイコンを設定します。
.s7mixedmediaviewer .s7videoplayer .s7iconeffect {
width: 100px;
height: 100px;}
.s7mixedmediaviewer .s7videoplayer .s7iconeffect[state="play"] {
background-image: url(images/playIcon.png);
}
.s7mixedmediaviewer .s7videoplayer .s7iconeffect[state="replay"] {
background-image: url(images/replayIcon.png);
}
recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8