fix video player commands font issue

This commit is contained in:
lamacchinadesiderante 2024-04-26 01:03:44 +02:00
parent 40994ccb9a
commit cd1d9949c8
2 changed files with 1 additions and 7 deletions

View File

@ -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(() => {

View File

@ -25,9 +25,3 @@ h1 {
font-size: $font-size-large;
}
}
span,
p,
div {
font-family: 'Roboto,Arial' sans-serif !important;
}