0
votes

I wonder if anyone can answer this question. I use the Youtube API to request onReady() and OnStateChange() events and using an IFRAME to embed the video.

Though I come across an issue with IE7 where the events are not firing. I understand there is a callback compatibility issue with IE browsers IE 7 and below.

Is there a work around this? Maybe using the flash API version?

if so could anyone help?

2

2 Answers

1
votes

Quoting from the documentation:

The end user must be using a browser that supports the HTML5 postMessage feature. Most modern browsers support postMessage, though Internet Explorer 7 does not support it.

0
votes

I still have to test this out in my environment, but this is a possible postMessage() backfill: https://github.com/joshfraser/postmessage . Here's the article it came from: http://www.onlineaspect.com/2010/01/15/backwards-compatible-postmessage/