A free, self-hostable news aggregator…
add allowfullscreen to iframe (#8467)
Luca Olivettibb786f4adeb5
diff --git a/app/Models/SimplePieCustom.php b/app/Models/SimplePieCustom.phpindex 44e5b030e..41d8f8eee 100644--- a/app/Models/SimplePieCustom.php+++ b/app/Models/SimplePieCustom.php@@ -114,7 +114,7 @@ final class FreshRSS_SimplePieCustom extends \SimplePie\SimplePie'hgroup' => [],'hr' => ['align', 'noshade', 'size', 'width'],'i' => [],- 'iframe' => ['src', 'align', 'frameborder', 'longdesc', 'marginheight', 'marginwidth', 'scrolling'],+ 'iframe' => ['src', 'align', 'frameborder', 'longdesc', 'marginheight', 'marginwidth', 'scrolling', 'allowfullscreen'],'image' => ['src', 'alt', 'width', 'height', 'align', 'border', 'hspace', 'longdesc', 'vspace'],'img' => ['src', 'alt', 'width', 'height', 'align', 'border', 'hspace', 'longdesc', 'vspace'],'ins' => ['cite', 'datetime'],@@ -220,6 +220,7 @@ final class FreshRSS_SimplePieCustom extends \SimplePie\SimplePie'iframe' => ['allow' => 'accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share','sandbox' => 'allow-scripts allow-same-origin',+ 'allowfullscreen' => 'allowfullscreen',],'video' => ['controls' => 'controls', 'preload' => 'none'],]);