![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
swfobject people dont upgrade to 2.x
Dont upgrade on a live site to 2.0 or 2.1 from 1.5 very bad idea.
Looks like they changed the way it parses it. v1.5 Code:
<div id="playerdiv"> Install Flash Please </div> <script type="text/javascript"> var so = new SWFObject("player.swf","main","400","310","8","#000000"); so.addParam("allowFullScreen","true"); so.addVariable("MediaLink","clip.flv"); so.addVariable("image","clip.jpg"); so.addVariable("playOnStart","false"); so.addVariable("showPlayButton","true"); so.write("playerdiv"); </script> Code:
<script type="text/javascript"> var flashvars = {}; flashvars.MediaLink = "clip.flv"; flashvars.image = "clip.jpg"; flashvars.playOnStart = "false"; flashvars.showPlayButton = "true"; var params = {}; params.bgcolor = "#000000"; params.allowfullscreen = "true"; params.allowscriptaccess = "sameDomain"; var attributes = {}; attributes.id = "flashvideo"; attributes.styleclass = "flashvideo"; attributes.align = "middle"; swfobject.embedSWF("player.swf", "flashvideo", "437", "310", "9.0.0", false, flashvars, params, attributes); </script> </head> <body> <div id="flashvideo"> <a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a> </div>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |