rewrite iframes to use https if commafeed uses https

This commit is contained in:
Athou
2013-11-12 15:44:56 +01:00
parent 7e4c1f374c
commit 6344f554d6
2 changed files with 34 additions and 1 deletions

View File

@@ -56,7 +56,7 @@
</div>
<div class="entry-body-content">
<div ng-bind-html="entry.content | trustHtml | highlight:keywords"></div>
<div ng-bind-html="entry.content | iframeHttpsRewrite| highlight:keywords | trustHtml"></div>
<div class="entry-enclosure" ng-if="entry.enclosureType">
<video controls ng-if="entry.enclosureType && entry.enclosureType.indexOf('video') == 0">
<source ng-src="{{entry.enclosureUrl | trustUrl}}" type="{{entry.enclosureType}}" />