Support playsinline attribute for audio/video tags #1187

This commit is contained in:
Kijin Sung 2019-09-13 16:18:48 +09:00
parent 65c8c6e9c1
commit 180b6668db

View file

@ -236,6 +236,7 @@ class HTMLFilter
'controls' => 'Bool',
'muted' => 'Bool',
'autoplay' => 'Bool',
'playsinline' => 'Bool',
'loop' => 'Bool',
));
$def->addElement('video', 'Block', 'Optional: (source, Flow) | (Flow, source) | Flow', 'Common', array(
@ -248,6 +249,7 @@ class HTMLFilter
'controls' => 'Bool',
'muted' => 'Bool',
'autoplay' => 'Bool',
'playsinline' => 'Bool',
'loop' => 'Bool',
));
$def->addElement('source', 'Block', 'Empty', 'Common', array(