mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-14 00:16:21 +00:00
fix: responsive video.js audio waveform
This commit is contained in:
parent
b3535969dd
commit
3ec7e6c76c
@ -9,5 +9,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.video-js {
|
.video-js {
|
||||||
margin: 0 auto
|
margin: 0 auto;
|
||||||
|
|
||||||
|
&.vjs-wavesurfer.vjs-fluid {
|
||||||
|
/* stylelint-disable-next-line selector-type-no-unknown */
|
||||||
|
wave.vjs-wavedisplay {
|
||||||
|
height: calc(100% - 30px) !important
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,8 @@ page.reloadVideo = () => {
|
|||||||
if (isaudio) {
|
if (isaudio) {
|
||||||
options.plugins = {
|
options.plugins = {
|
||||||
wavesurfer: {
|
wavesurfer: {
|
||||||
backend: 'MediaElement'
|
backend: 'MediaElement',
|
||||||
|
responsive: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user