mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: Add video files
This commit is contained in:
parent
c288921d5a
commit
7ad41b5f88
@ -1,6 +1,6 @@
|
|||||||
<% if $Video || $Image %>
|
<% if $Video || $Image %>
|
||||||
<% if $VideoFile %>
|
<% if $VideoFile %>
|
||||||
<video controls="controls">
|
<video autoplay="autoplay" muted="muted" loop="loop">
|
||||||
<source src="{$VideoFile.Link}" type="video/mp4" />
|
<source src="{$VideoFile.Link}" type="video/mp4" />
|
||||||
Your browser does not support the video tag.
|
Your browser does not support the video tag.
|
||||||
</video>
|
</video>
|
||||||
|
Loading…
Reference in New Issue
Block a user