I have encountered an issue with a sample webpage where I am attempting to set the wmode of all YouTube elements on the page to "transparent."
When inspecting the page using Chrome, I can see that my JavaScript code is functioning properly. However, the browser view does not update and the overlay remains under the YouTube video. Interestingly, if I manually add the wmode property directly in the HTML and then open the page in Chrome, the video displays correctly underneath the div.
You can view the problematic page here.
Can anyone suggest why this behavior is occurring? Your assistance is greatly appreciated!