mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-02-02 17:41:05 -05:00
add allowfullscreen to iframe (#8467)
With the "allowfullscreen" attribute it's possible to view an embedded video in full screen.
This commit is contained in:
@@ -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'],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user