diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-18 17:47:42 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-18 17:47:50 +0200 |
commit | 1ca71fccb13b726ae47f861a4678431bd7c51ed6 (patch) | |
tree | 6fd3f3b8b161d1b1fca470689b7e23df3149a098 /js/app/directives | |
parent | 8eaeb793617076475a6851e1f0cc74e53a1f2f96 (diff) |
fix broken audio feeds, fix #508
Diffstat (limited to 'js/app/directives')
-rw-r--r-- | js/app/directives/audio.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/app/directives/audio.coffee b/js/app/directives/audio.coffee index f180cfbeb..3d6d94062 100644 --- a/js/app/directives/audio.coffee +++ b/js/app/directives/audio.coffee @@ -29,9 +29,9 @@ angular.module('News').directive 'newsAudio', -> transclude: true template: '' + '<audio controls="controls" preload="none" ng-hide="cantPlay()">' + - '<source src="{{ src }}">' + + '<source ng-src="{{ src|trustUrl }}">' + '</audio>' + - '<a href="{{ src }}" class="button" ng-show="cantPlay()" ' + + '<a ng-href="{{ src|trustUrl }}" class="button" ng-show="cantPlay()" ' + 'ng-transclude></a>' link: (scope, elm, attrs) -> source = elm.children().children('source')[0] |