Hey Guys,
I am using swfobject.js file to embed youtube video in my application..
I am using the following code to embed:
swfobject.embedSWF(url, "container", w, h, "8", false, null, params, atts, swfCallback);
All works great when the page is first time loaded..
Now i am using a link to change the Youtube video url and embedding the video again..
This time also video works fine but swfobject.embedSWF method calls twice..which returns e.success falls in my swfCallback which is a call back function...
The video can play..but with error,,
This happens only in Firefox,
in IE, Safari, Chrome its working great..!
Please help me whats the reason the swfobject.embedSWF calls twice?