feat: Welcome Video.js player v8.23.3

This commit is contained in:
Yiannis Christodoulou
2025-07-08 06:02:53 +03:00
parent 966c2921b5
commit 3be86f91f7
24 changed files with 10598 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import './VideoJS.css';
import VideoJS from './VideoJS.jsx';
// Mount the components when the DOM is ready
const mountComponents = () => {
const rootContainer = document.getElementById('video-js-root');
if (rootContainer) {
const root = createRoot(rootContainer);
root.render(
<StrictMode>
<VideoJS />
</StrictMode>
);
}
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', mountComponents);
} else {
mountComponents();
}