Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Why do I need the "script type" code in the head?

1 reply [Last post]

Hi,

I was wondering what the purpose of the <script type="text/javascript" src="/embed/swfobject.js"></script> code was on pages with embedded video. The videos seem to work both with and without that code in the <head> so I'm wondering if I need it at all?

Thanks

SWFObject is a method for embedding video. If you're using a simple <object> or <embed> tag, you don't need SWFObject.