lib/onebox/sanitize_config.rb in onebox-1.8.36 vs lib/onebox/sanitize_config.rb in onebox-1.8.38
- old
+ new
@@ -10,10 +10,10 @@
'a' => RELAXED[:attributes]['a'] + %w(target),
'audio' => %w[controls],
'embed' => %w[height src type width],
'iframe' => %w[allowfullscreen frameborder height scrolling src width],
'source' => %w[src type],
- 'video' => %w[controls height loop width],
+ 'video' => %w[controls height loop width autoplay muted poster],
'div' => [:data], # any data-* attributes
},
add_attributes: {
'iframe' => {