@grfzhl/vue-hls-player 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -188,6 +188,8 @@ onMounted(() => {
|
|
|
188
188
|
|
|
189
189
|
if (mediaTheme && mediaTheme.shadowRoot) {
|
|
190
190
|
const fullscreenButton = mediaTheme.shadowRoot.querySelector('media-fullscreen-button');
|
|
191
|
+
const playbackRateButton = mediaTheme.shadowRoot.querySelector('media-playback-rate-menu');
|
|
192
|
+
playbackRateButton.setAttribute('rates', '0.25 0.5 0.75 1 1.5 2 3');
|
|
191
193
|
if (fullscreenButton) {
|
|
192
194
|
fullscreenButton.handleClick = async (event) => {
|
|
193
195
|
event.preventDefault();
|
|
@@ -411,7 +413,7 @@ function changeSpeed(e) {
|
|
|
411
413
|
top: 0;
|
|
412
414
|
width: 100%;
|
|
413
415
|
z-index: 99;
|
|
414
|
-
background:
|
|
416
|
+
background: transparent;
|
|
415
417
|
-webkit-transition: 1.5s ease-in-out;
|
|
416
418
|
-moz-transition: 1.5s ease-in-out;
|
|
417
419
|
transition: 1.5s ease-in-out;
|