video preload
This commit is contained in:
parent
d1c5671de5
commit
7f9d2d02f3
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ CODE_TYPES = ['x-c', 'x-shellscript', 'x-python']
|
||||||
FILE_TYPES = {
|
FILE_TYPES = {
|
||||||
'image': '<figure><img class="image" src="{}"><figcaption>{}</figcaption></figure>',
|
'image': '<figure><img class="image" src="{}"><figcaption>{}</figcaption></figure>',
|
||||||
'text': '<a href="{}" class="text">{}</a>',
|
'text': '<a href="{}" class="text">{}</a>',
|
||||||
'video': ('<video controls>' '<source src="{}"></video>'),
|
'video': ('<video controls preload>' '<source src="{}"></video>'),
|
||||||
'audio': ('<audio controls class="audio">' '<source src="{}"></audio>'),
|
'audio': ('<audio controls class="audio">' '<source src="{}"></audio>'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue