diff options
| author | 2016-10-08 22:23:23 +0200 | |
|---|---|---|
| committer | 2016-10-08 22:23:23 +0200 | |
| commit | d6ca6e085e5062cdb544e22805334a90827638b0 (patch) | |
| tree | af5ee892347b3c41c7585996db6f9e740731837e /lib | |
| parent | 8e5221c6f25deffbe62245024283604b7fa038b2 (diff) | |
| parent | 464ca2840290b72c0a804f62181ecbfd2e99dba4 (diff) | |
Merge pull request #1295 from Alkarex/Remove-resource-priorities
W3C resource-priorities have been abandonned
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', |
