summaryrefslogtreecommitdiffstats
path: root/templates/part.content.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.content.php')
-rw-r--r--templates/part.content.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 3aadcb2e2..deac22a07 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -126,8 +126,7 @@
</div>
<div class="enclosure" ng-if="item.enclosureLink">
- <video controls preload="none" ng-if="Content.getMediaType(item.enclosureMime) =='video'" news-play-one>
- <source ng-src="{{ item.enclosureLink|trustUrl }}" type="{{ item.enclosureMime }}">
+ <video controls preload="none" ng-if="Content.getMediaType(item.enclosureMime) =='video'" news-play-one ng-src="{{ item.enclosureLink|trustUrl }}" type="{{ item.enclosureMime }}">
</video>
<button ng-if="Content.getMediaType(item.enclosureMime) == 'audio'" ng-click="App.play(item)"><?php p($l->t('Play audio')) ?></button>
<a ng-show="Content.getMediaType(item.enclosureMime) =='video'" class="button" ng-href="{{ item.enclosureLink|trustUrl }}" target="_blank" rel="noreferrer">