Reputation: 265
I am using mediaelement player in my WordPress plugin.
In Internet explorer, embedding youtube inside an iframe not working whereas it works inside Chrome and Firefox.
In Internet explorer it shows the blank screen
While inspecting with the help of developers tool I see that iframe tag is not loading at all. Here is the screenshot:
In chrome, tag is getting loaded
Please, can anyone help me with this? Thanks in advance!
Upvotes: 0
Views: 450
Reputation: 705
If it doesent work in IE9 best option is to fall back to flash. You can do this two ways;
The hacky way adding a meta tag to render as IE8 hence faling back to flash;
<meta http-equiv="X-UA-Compatible" content="IE=8" />
The better way is to set in the wordpress options 'mode: 'auto_plugin' - which should force IE 9 to use flash.
Upvotes: 1