fix video player commands font issue #40
|
@ -41,7 +41,7 @@ export const VideoJS = (props: { options: any; onReady: any; }) => {
|
|||
//@ts-ignore
|
||||
player.src(options.sources);
|
||||
}
|
||||
}, [options, videoRef]);
|
||||
}, [options, videoRef, onReady]);
|
||||
|
||||
// Dispose the Video.js player when the functional component unmounts
|
||||
React.useEffect(() => {
|
||||
|
|
|
@ -24,10 +24,4 @@ h1 {
|
|||
@media only screen and (max-width: $tablet) {
|
||||
font-size: $font-size-large;
|
||||
}
|
||||
}
|
||||
|
||||
span,
|
||||
p,
|
||||
div {
|
||||
font-family: 'Roboto,Arial' sans-serif !important;
|
||||
}
|
Loading…
Reference in New Issue