Browse Source

Center videos

master
The Dod 1 year ago
parent
commit
ab77baa855
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app.py

+ 1
- 1
app.py View File

@@ -10,7 +10,7 @@ import shutil
10 10
 import re
11 11
 
12 12
 RE_VID = re.compile("""\[video ["']([^['"]*?)["']\]""")
13
-TEMPLATE_VID = """<video controls><source src="{}" type="video/{}"></video>"""
13
+TEMPLATE_VID = """<video controls class="centered"><source src="{}" type="video/{}"></video>"""
14 14
 
15 15
 RE_SOUNDTRACK = re.compile("""\[soundtrack ["']([^['"]*?)["']\]""")
16 16
 TEMPLATE_SOUNDTRACK = """<audio loop data-autoplay><source src="{}" type="audio/{}"></audio>"""

Loading…
Cancel
Save