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?