change the structure of object in window.MEDIA_DATA.chapters

This commit is contained in:
Yiannis Christodoulou 2025-07-28 02:12:21 +03:00
parent bce3f9c75d
commit 79de619be4

View File

@ -18,19 +18,19 @@
redirectUserMediaURL: "{{ media_object.user.get_absolute_url }}", redirectUserMediaURL: "{{ media_object.user.get_absolute_url }}",
chapters: [ chapters: [
{ {
id: '1', name: 'Chapter AAA',
title: 'Chapter AAA', from: '00:00:00.000',
timestamp: 0, to: '00:00:01.357',
}, },
{ {
id: '2', name: 'Chapter BBB',
title: 'Chapter BBB', from: '00:00:01.999',
timestamp: 10, to: '00:00:02.714',
}, },
{ {
id: '3', name: 'Chapter CCC',
title: 'Chapter CCC', from: '00:00:02.714',
timestamp: 20, to: '00:00:03.071',
}, },
], ],
}; };