A free, self-hostable news aggregator…
HTML5 show controls audio video (#1642)
Alexandre Alapetitef293cec4927b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex f870252dd..1eb051841 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,6 +9,7 @@* New page for subscription tools [#1534](https://github.com/FreshRSS/FreshRSS/issues/1354)* Adjustments to the padding of the tree of categories and feeds [1589](https://github.com/FreshRSS/FreshRSS/pull/1589)* Fix feed column position after lazy-loading images [#1616](https://github.com/FreshRSS/FreshRSS/pull/1616)+ * Force UI controls for HTML5 video and audio [#1642](https://github.com/FreshRSS/FreshRSS/pull/1642)* CLI* New command `./cli/update-user` to update user settings [#1600](https://github.com/FreshRSS/FreshRSS/issues/1600)* I18ndiff --git a/lib/lib_rss.php b/lib/lib_rss.phpindex 959cb064c..09048700d 100644--- a/lib/lib_rss.php+++ b/lib/lib_rss.php@@ -191,9 +191,9 @@ function customSimplePie() {'onmouseover', 'onmousemove', 'onmouseout', 'onfocus', 'onblur','onkeypress', 'onkeydown', 'onkeyup', 'onselect', 'onchange', 'seamless', 'sizes', 'srcset')));$simplePie->add_attributes(array(- 'audio' => array('preload' => 'none'),+ 'audio' => array('controls' => 'controls', 'preload' => 'none'),'iframe' => array('sandbox' => 'allow-scripts allow-same-origin'),- 'video' => array('preload' => 'none'),+ 'video' => array('controls' => 'controls', 'preload' => 'none'),));$simplePie->set_url_replacements(array('a' => 'href',