fix:(video.js) support embed functionality and ensure videos play independently on the same page

This commit is contained in:
Yiannis Christodoulou
2025-09-19 08:31:38 +03:00
parent 2c6484b6ca
commit 222c728909
5 changed files with 162 additions and 17 deletions
+2 -8
View File
@@ -7,14 +7,8 @@
<title>VideoJS</title>
</head>
<body>
<h1>Main Video Player</h1>
<div id="video-js-root-main"></div>
<hr />
<h1>Embed Video Player</h1>
<div id="video-js-root-embed"></div>
<div id="video-js-root-main" class="video-js-root-main"></div>
<!-- <div id="video-js-root-embed"></div> -->
<script type="module" src="/src/main.jsx"></script>
</body>
</html>