swfobject.registerObject vs swfobject.embedSWF. Which one is better and wh开发者_如何学运维y?
swfobject.registerObject
is used when embedding the SWF using static markup (the nested object approach).
swfobject.embedSWF
is used for embedding SWFs with JavaScript.
They are not competitors, and are used in completely different circumstances.
References:
SWFObject documentation
learnswfobject.com
精彩评论