Add video control for podcasts

https://github.com/marienfressinaud/FreshRSS/issues/504
This commit is contained in:
Alexandre Alapetite committed 2014-05-14 09:07:30 +02:00
1 parent 7f1c305c86
commit c3178a4f89
1 file changed
+2
+2
View File
@@ -261,6 +261,8 @@ class FreshRSS_Feed extends Minz_Model {
$content .= '<br /><img src="' . $elink . '" alt="" />';
} elseif (strpos($mime, 'audio/') === 0) {
$content .= '<br /><audio src="' . $elink . '" controls="controls" />';
} elseif (strpos($mime, 'video/') === 0) {
$content .= '<br /><video src="' . $elink . '" controls="controls" />';
}
}
}