mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-12-17 09:02:31 -05:00
feat: Major Upgrade to Video.js v8 — Chapters Functionality, Fixes and Improvements
This commit is contained in:
committed by
GitHub
parent
b39072c8ae
commit
a5e6e7b9ca
@@ -5,7 +5,8 @@ import "./index.css";
|
||||
if (typeof window !== "undefined") {
|
||||
window.MEDIA_DATA = {
|
||||
videoUrl: "",
|
||||
mediaId: ""
|
||||
mediaId: "",
|
||||
posterUrl: ""
|
||||
};
|
||||
window.lastSeekedPosition = 0;
|
||||
}
|
||||
@@ -15,6 +16,7 @@ declare global {
|
||||
MEDIA_DATA: {
|
||||
videoUrl: string;
|
||||
mediaId: string;
|
||||
posterUrl?: string;
|
||||
};
|
||||
seekToFunction?: (time: number) => void;
|
||||
lastSeekedPosition: number;
|
||||
|
||||
Reference in New Issue
Block a user