(iframe)
| 129 | * @param {Element} iframe |
| 130 | */ |
| 131 | export function addUnsafeAllowAutoplay(iframe) { |
| 132 | let val = iframe.getAttribute('allow') || ''; |
| 133 | val += 'autoplay;'; |
| 134 | iframe.setAttribute('allow', val); |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * @param {?HTMLIFrameElement=} iframe |
no test coverage detected