mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
Allow autoplay attribute of <audio> and <video> tags #1187
This commit is contained in:
parent
553ae9ce98
commit
d8fa31722c
2 changed files with 5 additions and 3 deletions
|
|
@ -235,6 +235,7 @@ class HTMLFilter
|
|||
'preload' => 'Enum#auto,metadata,none',
|
||||
'controls' => 'Bool',
|
||||
'muted' => 'Bool',
|
||||
'autoplay' => 'Bool',
|
||||
'loop' => 'Bool',
|
||||
));
|
||||
$def->addElement('video', 'Block', 'Optional: (source, Flow) | (Flow, source) | Flow', 'Common', array(
|
||||
|
|
@ -246,6 +247,7 @@ class HTMLFilter
|
|||
'preload' => 'Enum#auto,metadata,none',
|
||||
'controls' => 'Bool',
|
||||
'muted' => 'Bool',
|
||||
'autoplay' => 'Bool',
|
||||
'loop' => 'Bool',
|
||||
));
|
||||
$def->addElement('source', 'Block', 'Empty', 'Common', array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue