/** * Stop iframe video * * @param {Node} iframe */ function stopIframeVideo(iframe) { const url = iframe.getAttribute('src'); iframe.setAttribute('src', ''); iframe.setAttribute('src', url); }
/** * Stop iframe video * * @param {Node} iframe */ function stopIframeVideo(iframe) { const url = iframe.getAttribute('src'); iframe.setAttribute('src', ''); iframe.setAttribute('src', url); }