Toolkit:swf
From Surebert wiki
Overview
In order to use sb.swf you must include the sb.swf.js file from the surebert folder either in a script tag or by using sb.include('sb.swf'); before creating a new sb.swf instance.
Embedding flash cross-browser and compliantly made easy. Adding youtube videos cross browser is trivial with sb.swf. By specifying the version required and alt text you are assured that users without flash player 8 see a custom message explaing why it won't run.
sb.swf is also used in Toolkit:sound
Example
javascript code
sb.include('swf'); var mySwf = new sb.swf({ src :'http://www.youtube.com/v/HshTaI4CeiM', wmode : 'transparent', version: 8, alt :'<h2 style="color:red;">You need at least flash player 8 to play youtube video</h2>' }); mySwf.embed('#youtube');