Jun. 03, 2009Robbie
Why am I getting this with the embed-1 plugin?
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at nl.vara.jwplayer.embed::EmbedPlugin/resizeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.jeroenwijering.player::Controller/redrawHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.jeroenwijering.player::View/sendEvent()
at com.jeroenwijering.player::Player/startPlayer()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.jeroenwijering.player::SPLoader/pluginHandler()
<script type="text/javascript" src="http://www.@@@.com/09/wp-content/video/player/swfobject.js"></script>
<script type="text/javascript">
function createPlayer(aFile, aImage, aTitle, embed, autostart, aLink) {
var embedCode = escape(embed);
var s = new SWFObject("http://www.@@@.com/09/wp-content/video/player/player.swf","playerID","622","350","7");
s.addParam("allowscriptaccess","always");
s.addParam("allownetworking","all");
s.addParam("allowfullscreen","true");
s.addParam('wmode','opaque');
s.addVariable('skin', 'http://www.@@@.com/09/wp-content/video/player/overlay.swf');
s.addVariable('stretching', 'exactfit');
s.addVariable("width","622");
s.addVariable("height","350");
s.addVariable("displayheight","350");
s.addVariable("controlbar","over");
s.addVariable("file", aFile);
s.addVariable("title", aTitle);
s.addVariable("image", aImage);
s.addVariable("link", aLink);
s.addVariable('plugins', 'embed-1');
s.addVariable('embed.code', embedCode);
s.addVariable('embed.show_window_after_complete','true'); // true, false
s.addVariable('embed.title','Embed This Video!');
s.addVariable('embed.instruction','Copy this embed code and paste it on your own site to embed this video!');
s.addVariable('embed.close_text','Close This Window!');
s.addVariable('embed.copy_text','Copy Code!');
s.addVariable('embed.copied_text','Copied To Clipboard!');
s.addVariable('linkfromdisplay', 'true');
s.addVariable('linktarget', '_blank');
s.addVariable("autostart", autostart);
s.write("placeholder");
}
</script>
Jun. 08, 2009Jason
I'm having the same issue, what's going on?
Jun. 08, 2009LoLo
Probably this issue: http://bugs.adobe.com/jira/browse/FP-359
Seems to be fixed. Try using the latest v4.5.218 player from here: http://developer.longtailvideo.com/trac/log/trunk/as3/player.swf
Aug. 25, 2009Martin
I'm using 4.5.230 and I'm still getting this error?
Oct. 21, 2009Me too
I am also getting this error!
Freezes my machine.
Whats the problem.
Need a fix
Thanks
Oct. 21, 2009Me too
Version 4.6
Oct. 22, 2009Zachary Ozer
I can't replicate. Can you post a link to a page demonstrating the error?
Oct. 23, 2009Peter
I think you need the Adobe Flash Player 10 — Debugger Versions to see the error.
Oct. 24, 2009Zachary Ozer
I have the debug version and still can't reproduce it.
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.