diff options
| author | 2016-10-08 21:45:47 +0200 | |
|---|---|---|
| committer | 2016-10-08 21:45:47 +0200 | |
| commit | 6bc37cef47b41821055fc9e2c1ecb0ffbcc5d0d3 (patch) | |
| tree | 9519b3798c6d2f76b9e5625cb87a2a472bdda181 /lib | |
| parent | 8e5221c6f25deffbe62245024283604b7fa038b2 (diff) | |
W3C resource-priorities have been abandonned
https://github.com/FreshRSS/FreshRSS/issues/1222
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_rss.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index a4cd8e782..b18512484 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -182,10 +182,9 @@ function customSimplePie() { 'onmouseover', 'onmousemove', 'onmouseout', 'onfocus', 'onblur', 'onkeypress', 'onkeydown', 'onkeyup', 'onselect', 'onchange', 'seamless', 'sizes', 'srcset'))); $simplePie->add_attributes(array( - 'img' => array('lazyload' => '', 'postpone' => ''), //http://www.w3.org/TR/resource-priorities/ - 'audio' => array('lazyload' => '', 'postpone' => '', 'preload' => 'none'), - 'iframe' => array('lazyload' => '', 'postpone' => '', 'sandbox' => 'allow-scripts allow-same-origin'), - 'video' => array('lazyload' => '', 'postpone' => '', 'preload' => 'none'), + 'audio' => array('preload' => 'none'), + 'iframe' => array('sandbox' => 'allow-scripts allow-same-origin'), + 'video' => array('preload' => 'none'), )); $simplePie->set_url_replacements(array( 'a' => 'href', |
