Compare commits
2 Commits
d66d4b0e79
...
8332f55109
Author | SHA1 | Date |
---|---|---|
Tony Air | 8332f55109 | |
Tony Air | 7ac2a3002b |
|
@ -74,6 +74,10 @@ class BaseElementEx extends DataExtension
|
|||
|
||||
public function updateCMSEditLink(&$link): void
|
||||
{
|
||||
if(!method_exists($this->owner, 'inlineEditable')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$this->owner->inlineEditable()) {
|
||||
$page = $this->owner->getPage();
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<% if $Video || $Image %>
|
||||
<% if $Video || $Image || $VideoFile %>
|
||||
<% if $VideoFile %>
|
||||
<video autoplay="autoplay" muted="muted" loop="loop">
|
||||
<video preload="none" autoplay="autoplay" muted="muted" loop="loop">
|
||||
<source src="{$VideoFile.Link}" type="video/mp4" />
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
|
|
Loading…
Reference in New Issue