Add support for HTML5 video inside feeds
This commit is contained in:
parent
f004aa3ab0
commit
00823c90d6
@ -596,7 +596,8 @@ section li {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
video,
|
||||
iframe {
|
||||
max-width: 95%;
|
||||
max-width: 98%;
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ Router\before(function($action) {
|
||||
|
||||
// HTTP secure headers
|
||||
Response\csp(array(
|
||||
'media-src' => '*',
|
||||
'img-src' => '*',
|
||||
'frame-src' => implode(' ', array(
|
||||
'http://www.youtube.com',
|
||||
|
2
vendor/PicoFeed/Filter.php
vendored
2
vendor/PicoFeed/Filter.php
vendored
@ -11,6 +11,8 @@ class Filter
|
||||
private $strip_content = false;
|
||||
|
||||
public $allowed_tags = array(
|
||||
'video' => array('poster', 'controls', 'height', 'width', 'src'),
|
||||
'source' => array('src', 'type'),
|
||||
'dt' => array(),
|
||||
'dd' => array(),
|
||||
'dl' => array(),
|
||||
|
Loading…
Reference in New Issue
Block a user