Add Playback Rate function
This commit is contained in:
parent
2474a3d62e
commit
7dcbb1affa
|
@ -4,6 +4,7 @@ const {
|
|||
Title,
|
||||
Live,
|
||||
ShowBackAndForward,
|
||||
ShowPlaybackRate,
|
||||
SeekColor = '#2185d0',
|
||||
PlayerName,
|
||||
Subtitles
|
||||
|
@ -72,6 +73,7 @@ import './Styles/Iconoir.css'
|
|||
<!-- The requestPictureInPicture() function is not supported in Firefox -->
|
||||
<button id="vc-pip" onclick={'document.querySelector("#zorn-player-' + PlayerName + ' video").requestPictureInPicture()'}><i class="iconoir-multi-window"></i></button>
|
||||
{Subtitles ? <button id="vc-subtitles"><i class="iconoir-closed-captions-tag-solid"></i></button> : null}
|
||||
{ShowPlaybackRate ? <button onclick="PlayerMenu_PlaybackRate()"><i class="iconoir-timer-solid"></i></button> : null}
|
||||
<button id="vc-fullscreen"><i class="iconoir-enlarge"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -337,6 +337,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
#playback-rate {
|
||||
flex-direction: row;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
button#has-switch svg {
|
||||
width: 24px;
|
||||
}
|
Loading…
Reference in a new issue