Skip to content

Instantly share code, notes, and snippets.

@jasonmelgoza
Created September 9, 2009 21:11
Show Gist options
  • Save jasonmelgoza/184084 to your computer and use it in GitHub Desktop.
Save jasonmelgoza/184084 to your computer and use it in GitHub Desktop.
flash player setup
<p><script type="text/javascript" src="http://www.npr.org/templates/javascript/swfobject.js"></script></p>
<div id="hubble">
<p><img src="http://media.npr.org/assets/news/2009/09/09/picshow_wide.jpg?s=3" alt="[Slideshow: Picture Show]" /></p>
<p><strong>This slideshow requires version 9 or higher of the Adobe Flash Player.</strong> <a href="http://www.adobe.com/products/flashplayer/" target="_blank">Get the latest Flash Player.</a></p>
<p>Description of slideshow goes here.</p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("http://www.npr.org/design/flash_templates/preloaderAS3.swf", "hubble", "462", "425", "9", "#FFFFFF");
so.addParam("allowScriptAccess", "always");
so.addParam("quality", "high");
so.addParam("align", "middle");
so.addParam("wmode", "window");
so.addParam("allowFullScreen", "true")
so.addVariable("theswf", "http://www.npr.org/design/flash_templates/nprgallery_embed.swf?path=http://www.npr.org/assets/multimedia/pictureshow/2009/09/hubble/");
so.write("hubble");
// ]]>
</script>
<p>Thanks to new imagers installed in May 2009 during a visit from the space shuttle Atlantis, Hubble can now see farther, clearer, and across a wider spectrum than ever before. </p>
<p>NASA says it's a new beginning for the 19-year-old orbiting observatory, and will extend its life into the next decade. For astronomers, it's a chance to probe deeper into space, capture never-before-seen images from the early days of the universe, and perhaps observe the birth of planets like ours. </p>
<p>And for ordinary folks who like to look up at the night sky and dream, it's what some astronomy enthusiasts call "space porn." </p>
<p>To learn more about the new and improved Hubble Space Telescope, and see more far-flung images, visit <a href="http://www.hubblesite.org/">HubbleSite</a>. Also, check out this <a href="http://www.npr.org/multimedia/2009/05/hubble/" target="_new">audio slideshow</a> of astronomers discussing their favorite Hubble photos.</p>
<p class="pictureshow"><font color="gray">Have an idea? <a href="mailto:pictureshow@npr.org"><b>Pitch it!</b></a>
<br>The Picture Show on <a href="http://www.facebook.com/pages/NPR-Radio-Pictures/77657055517?ref=nf">Facebook</a> | on <a href="http://twitter.com/NPRPictureShow">Twitter</a></font></p>
<p><noscript><p><img src="http://media.npr.org/assets/news/2009/09/09/picshow_fb.jpg" alt="[Photo]" /></p><p><strong>This slideshow requires version 8 or higher of the Adobe Flash Player.</strong> <a href="http://www.adobe.com/products/flashplayer/" target="_blank">Get the latest Flash Player.</a></p><p>TEXT.</p></noscript></p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment