mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-22 03:04:31 -04:00
Add video control for podcasts
https://github.com/marienfressinaud/FreshRSS/issues/504
This commit is contained in:
1 parent
7f1c305c86
commit
c3178a4f89
1 file changed
+2
@@ -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" />';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user