Problem removing player - 'SetReturnValue': object is null or undefined - jw6
We are building a new streaming portal as an ajax app (no page reloading) and when removing the player with a simple jwplayer().remove() (when page shifting etc.) IE 8/9 throws an
*SCRIPT5007: Unable to get value of the property 'SetReturnValue': object is null or undefined*
in an endless loop.
The funny thing is that the player needs to be playing for this to happen. I have therefor tried to call .stop() before .remove(), this takes care of the inifite loop but not the error. I do not have an external example but I think that my issue is the same as reported here:
http://www.longtailvideo.com/support/forums/jw-player/javascript-interaction/19788/replacementremoval-of-video/
and lately here:
http://www.longtailvideo.com/support/forums/jw-player/javascript-interaction/32138/endless-javascript-error-loop-when-flash-player-is-removed-from-dom/
we can use the test link and procedure from this last post above to reproduce the same error as I am getting at our site:
http://www.domradio.de/?testjwplayer
I experience the endless loop when following these steps:
1) Go to http://www.domradio.de/?testjwplayer with IE8
2) Click the video thumbnail below 'Nachrichten-Video'
3) Let the video play for a bit.
4) Close the popup
--> The IE status bar will show a Javascript error.
5) Open the IE javascript error console. It will show a certain number of errors.
6) Close and re-open the error console. It will show more errors.
I am using JW 6.4 pro. I would greatly appreciate some advice working around this problem.
The posts above are both locked so I was unable to post my issue there.
Best,
Joern