Author Topic: flowplayer should run after dom is ready  (Read 1143 times)

jamesmoey

  • Lurker
  • *
  • Posts: 1
flowplayer should run after dom is ready
« on: 04 de December de 2009, 07:50:06 AM »
There are some problem with running flowplayer in IE 8.

Return error when viewing the page in IE 8

Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)

wrap flowplayer around window.addEvent('domready') resolve this error.

window.addEvent("domready", function() {
  flowplayer("a.flowplayer"....
  .......
  );
});