skip to Main Content

How do I toggle video mute in an iframe ( youtube ) with a button? – WordPress

how are u? I am trying to make a single button for play/mute process for youtube iframe in wordpress header... <iframe id="wp-custom-header-video" name="video-wp" frameborder="0" allowfullscreen="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" title="YouTube video player" width="2000" height="1200" src="https://www.youtube.com/embed/4vGzJ3nTzp4?autoplay=1&amp;controls=0&amp;disablekb=1&amp;fs=0&amp;iv_load_policy=3&amp;loop=1&amp;modestbranding=1&amp;playsinline=1&amp;rel=0&amp;showinfo=0&amp;enablejsapi=1&amp;origin=https%3A%2F%2Fepistolariodelamemoria.cl&amp;widgetid=1" data-gtm-yt-inspected-1_19="true" data-initial-width="2000" data-initial-height="1200"></iframe>…

VIEW QUESTION

Why is YouTube making requests to ourdomain.example.com/error_204 – Magento

We have a WordPress blog running under via a reverse Proxy under ourdomain.example.com/blog which embeds YouTube videos. Now we are seeing requests in the chrome network tab to POST https://ourdomain.example.com/error_204?a=logerror&t=jserror&type=SyntaxError&msg=Failed%20to%20execute%20%27postMessage%27%20on%20%27Window%27%3A%20Invalid%20target%20origin%20%27data%3A%27%20in%20a%20call%20to%20%27postMessage%27.&line=Not%20available&level=WARNING&client.name=1 This requests lead to problems in our main software (Magento,…

VIEW QUESTION
Back To Top
Search