Using javascript with jQuery, I am adding an iframe with a youtube url to display a video on a website however the embed code that gets loaded in the iframe from youtube doesnt have wmode="Opaque", therefore the modal boxes on the page are shown beneath the youtube video.

Any ideas how to solve the issue?
['https://Stackoverflow.com/questions/4050999', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/427235/']
Try adding `?wmode=opaque` to the URL or `&wmode=opaque` if there already is a parameter.

If it doesn't work try this instead, `&amp;wmode=transparent` which will work in IE browser as well.
Try adding `?wmode=transparent` to the end of the URL. Worked for me.