From 7f1c305c869ee315131b7ade7abc99f23106d95b Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 13 May 2014 22:30:24 +0200 Subject: Add audio control for podcasts https://github.com/marienfressinaud/FreshRSS/issues/504 --- app/Models/Feed.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Models/Feed.php') diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 13d3dfe88..116f96562 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -259,6 +259,8 @@ class FreshRSS_Feed extends Minz_Model { $mime = strtolower($enclosure->get_type()); if (strpos($mime, 'image/') === 0) { $content .= '
'; + } elseif (strpos($mime, 'audio/') === 0) { + $content .= '