Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- saved from url=(0014)about:internet --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>AS-Flash Video Player Basic - embeded with SWFObject 1.5</title> <!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/swfobject/ --> <script type="text/javascript" src="swfobject.js"></script> <style type="text/css"> body { margin-left: 0px; margin-top: 75px; margin-right: 0px; margin-bottom: 0px; background-color: #FFFFFF; } </style> </head> <body> <div align=center> <div id="playerdiv"> <strong>You need to upgrade your Flash Player</strong> </div> </div> <script type="text/javascript"> // <![CDATA[ var so = new SWFObject("videoplayer.swf", "main", "540", "425", "8", "#000000"); so.addParam("allowFullScreen", "true"); so.addVariable("videoLink", "video/movie1.flv"); so.addVariable("videoLinkHD", "video/movie2.mp4"); so.addVariable("defaultVideo", "2"); so.addVariable("videoVolume", "75"); so.addVariable("image", "image.jpg"); so.addVariable("logo", "logo.swf"); so.addVariable("logoLink", "http://www.as-flash.com"); so.addVariable("logoTarget", "_blank"); so.addVariable("autoplay", "false"); so.write("playerdiv"); </script> </body> </html>
This paste will be private.
From the Design Piracy series on my blog: