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