Add Playback Rate function
This commit is contained in:
parent
2474a3d62e
commit
7dcbb1affa
|
@ -4,6 +4,7 @@ const {
|
||||||
Title,
|
Title,
|
||||||
Live,
|
Live,
|
||||||
ShowBackAndForward,
|
ShowBackAndForward,
|
||||||
|
ShowPlaybackRate,
|
||||||
SeekColor = '#2185d0',
|
SeekColor = '#2185d0',
|
||||||
PlayerName,
|
PlayerName,
|
||||||
Subtitles
|
Subtitles
|
||||||
|
@ -72,6 +73,7 @@ import './Styles/Iconoir.css'
|
||||||
<!-- The requestPictureInPicture() function is not supported in Firefox -->
|
<!-- 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>
|
<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}
|
{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>
|
<button id="vc-fullscreen"><i class="iconoir-enlarge"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</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 {
|
button#has-switch svg {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
}
|
}
|
Loading…
Reference in a new issue