mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-05 23:18:53 -05:00
Add audio sample and update video sample assets
Moved sample-media-file.json to src/assets, updated subtitle info with a new URL, and added a new sample-media-file.mp3.json for audio testing. These changes support improved handling and testing of both video and audio media in the VideoJSPlayer component.
This commit is contained in:
parent
178b5ed37c
commit
6f3ed46413
@ -110,9 +110,9 @@
|
|||||||
"480_playlist": "/media/hls/d393b72d279d4d0da70a484eb6b8b44f/media-6/stream.m3u8"
|
"480_playlist": "/media/hls/d393b72d279d4d0da70a484eb6b8b44f/media-6/stream.m3u8"
|
||||||
},
|
},
|
||||||
"license": null,
|
"license": null,
|
||||||
"subtitles_info": [
|
"__subtitles_info": [
|
||||||
{
|
{
|
||||||
"src": "/media/original/subtitles/user/markos/7e5aaed284954ae497d09783bf81004f.ExitofElygiaGorgeChaniaCrete.vtt",
|
"src": "https://videojs.mediacms.io/media/original/subtitles/user/markos/7e5aaed284954ae497d09783bf81004f.ExitofElygiaGorgeChaniaCrete.vtt",
|
||||||
"srclang": "en",
|
"srclang": "en",
|
||||||
"label": "English"
|
"label": "English"
|
||||||
}
|
}
|
||||||
1158
frontend-tools/video-js/src/assets/sample-media-file.mp3.json
Normal file
1158
frontend-tools/video-js/src/assets/sample-media-file.mp3.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -29,7 +29,7 @@ import KeyboardHandler from '../../utils/KeyboardHandler';
|
|||||||
import PlaybackEventHandler from '../../utils/PlaybackEventHandler';
|
import PlaybackEventHandler from '../../utils/PlaybackEventHandler';
|
||||||
|
|
||||||
// Import sample media data
|
// Import sample media data
|
||||||
import sampleMediaData from '../../../public/sample-media-file.json';
|
import sampleMediaData from '../../assets/sample-media-file.json';
|
||||||
|
|
||||||
// Import fallback poster image
|
// Import fallback poster image
|
||||||
import audioPosterImg from '../../assets/audio-poster.jpg';
|
import audioPosterImg from '../../assets/audio-poster.jpg';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user