diff options
Diffstat (limited to 'templates/part.items.php')
-rw-r--r-- | templates/part.items.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/part.items.php b/templates/part.items.php index e87c8ad5c..fe2265afa 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -29,8 +29,10 @@ class="from_feed">{{item.feedTitle}}</a> {{item.getAuthorLine()}} </h2> - <div class="enclosure" ng-show="item.enclosure"> - <audio controls="controls"><source ng-src="{{item.enclosure.link}}" type="{{item.enclosure.type}}"></source></audio> + <div class="enclosure" ui-if="item.enclosure"> + <audio controls="controls" ng-src="{{item.enclosure.link}}" type="{{item.enclosure.type}}"> + <?php p($l->t('Cant play audio format')) ?> {{item.enclosure.type}} + </audio> </div> <div class="body" |