Merge pull request 'fix video player commands font issue' (#40) from bugfix/player-font-not-loading-in-prod-mode into main
Reviewed-on: #40
This commit is contained in:
commit
2d35778966
|
@ -41,7 +41,7 @@ export const VideoJS = (props: { options: any; onReady: any; }) => {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
player.src(options.sources);
|
player.src(options.sources);
|
||||||
}
|
}
|
||||||
}, [options, videoRef]);
|
}, [options, videoRef, onReady]);
|
||||||
|
|
||||||
// Dispose the Video.js player when the functional component unmounts
|
// Dispose the Video.js player when the functional component unmounts
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
|
|
|
@ -25,9 +25,3 @@ h1 {
|
||||||
font-size: $font-size-large;
|
font-size: $font-size-large;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
span,
|
|
||||||
p,
|
|
||||||
div {
|
|
||||||
font-family: 'Roboto,Arial' sans-serif !important;
|
|
||||||
}
|
|
Loading…
Reference in New Issue