hi, I was working on an app supporting html5/flash video. I realized that RequireJS is a great way to load up the swfobject library. The problem was IE 7, and 8. They both weren't able to use swfobject to create the swf element. What I realized was I could simply omit swfobject and use the object tag. I ended up just loading the swfobject in the script tag before RequireJS and that did the magic.
swfobject had a big purpose, and that was the policy IE had on plugins by deactivating them initially from the user. I believe the policy on IE is gone and has been for several years. The other reason was to detect if flash player was supported. What if you just use this jquery plugin instead http://jquery.lukelutman.com/plugins/flash/? -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To view this discussion on the web visit https://groups.google.com/d/msg/swfobject/-/Y3UV7nRxQ2YJ. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.