{source}<script type=”text/javascript” src=”http://www.shotgunlife.com/plugins/flowplayer/flowplayer-3.2.4.min.js”></script>
<script src=”http://www.shotgunlife.com/plugins/flowplayer/flowplayer.embed-3.0.3.min.js”></script>
<script>
if ((navigator.userAgent.indexOf(‘iPhone’) != -1) || (navigator.userAgent.indexOf(‘iPod’) != -1) || (navigator.userAgent.indexOf(‘iPad’) != -1)) {
document.write(‘<div style=”text-align:center”>Click below to view on iPhone, iPad, or iPod Touch. <br />Video will start after a couple seconds.</div><div style=”text-align:center”><video controls=”controls” width=”550″ height=”311″ style=”margin: 5px;”><source src=”images/videos/shotgun_journal/Ptarmigen_F9_1Mbps.mp4″ type=”video/mp4″ /></video> </div>’);
}
</script>
<a href=”http://www.shotgunlife.com/images/videos/shotgun_journal/Ptarmigen_F9_1Mbps.mp4″
style=”display:block;width:550px;height:310px;margin: 0 auto 0 auto;” id=”player”></a>
<script>
if ((navigator.userAgent.indexOf(‘iPhone’) == -1) && (navigator.userAgent.indexOf(‘iPod’) == -1) && (navigator.userAgent.indexOf(‘iPad’) == -1)) {
// install Flowplayer inside the previous anchor tag
$f(“player”, “http://www.shotgunlife.com/plugins/flowplayer/flowplayer-3.2.5.swf”);
// get the embedding code
var code = $f().embed().getEmbedCode();
// place this code in our textarea
document.getElementById(“textarea”).innerHTML = code;
}
</script>
{/source}