Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Error #1009

8 replies [Last post]

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>

I'm having the same issue, what's going on?

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

I'm using 4.5.230 and I'm still getting this error?

I am also getting this error!
Freezes my machine.
Whats the problem.
Need a fix :)

Thanks

Version 4.6

I can't replicate. Can you post a link to a page demonstrating the error?

I think you need the Adobe Flash Player 10 — Debugger Versions to see the error.

I have the debug version and still can't reproduce it.