Browse Source

Fix video width

master
tr4ck3ur des JM2L 9 years ago
parent
commit
0633e56639
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      jm2l/views.py

+ 1
- 1
jm2l/views.py View File

@@ -175,7 +175,7 @@ def JSON_TimeLine_Request(request):
if ev.event_type:
CurMedia = ev.video.first() or ""
if CurMedia:
Container = "<video controls='controls' preload='metadata'>"
Container = "<video controls='controls' preload='metadata' style='width:60%'>"
Container += "<source type='%s' " % CurMedia.mime_type
Container += "src='%s' />" % CurMedia.get_path
Container += "</video>"


Loading…
Cancel
Save