ehtasham89 / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

swfobject.embedSWF called twice in Firefox #645

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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?

Original issue reported on code.google.com by r...@intellimedianetworks.com on 6 Nov 2012 at 6:21