mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
wtv
This commit is contained in:
committed by
Yiannis Christodoulou
parent
32f61cf566
commit
e34bd55e7a
@@ -256,7 +256,7 @@ def video_chapters(request, friendly_token):
|
||||
return HttpResponseRedirect("/")
|
||||
|
||||
try:
|
||||
data = json.loads(request.body)["chapters"]
|
||||
data = json.loads(request.body)["segments"]
|
||||
chapters = []
|
||||
for _, chapter_data in enumerate(data):
|
||||
start_time = chapter_data.get('startTime')
|
||||
|
||||
Reference in New Issue
Block a user