feat: Major Upgrade to Video.js v8 — Chapters Functionality, Fixes and Improvements

This commit is contained in:
Yiannis Christodoulou
2025-10-20 15:30:00 +03:00
committed by GitHub
parent b39072c8ae
commit a5e6e7b9ca
362 changed files with 62326 additions and 238721 deletions

View File

@@ -185,6 +185,8 @@ class MediaPageStore extends EventEmitter {
switch (this.get('media-type')) {
case 'video':
case 'audio':
this.emit('loaded_video_data');
break;
case 'image':
this.emit('loaded_' + this.get('media-type') + '_data');
break;
@@ -607,7 +609,7 @@ class MediaPageStore extends EventEmitter {
}
isVideo() {
return 'video' === this.get('media-type');
return 'video' === this.get('media-type') || 'audio' === this.get('media-type');
}
onPlaylistCreationCompleted(response) {