o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1354658401.231972: @value"?{I" class:EFI"BundledAsset;FI"logical_path;FI"application.js;FI" pathname;FI"0$root/app/assets/javascripts/application.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2012-11-30T11:59:01-05:00;FI" length;FiI" digest;F"%59d26edf19c2b0443d13697da585c960I" source;FI" var showingPlayer; function initPlayer() { jwplayer("theme_video").setup({ image: '/assets/woople-theme/poster.jpg', controlbar: { position: 'bottom' }, bufferlength: 10, file: videoOptions.desktopSrc, height: '100%', modes: [{ type: "flash", src: "/assets/jwplayer/player.swf" },{ type: "html5", config: { file: videoOptions.mobileSrc } }], provider: "video", width: '100%', plugins: { "gapro-2":{} } }); } $(document).ready(function() { if (showingPlayer) { initPlayer();; } }); // from https://gist.github.com/1042026 // Mobile Safari in standalone mode if(("standalone" in window.navigator) && window.navigator.standalone){ // If you want to prevent remote links in standalone web apps opening Mobile Safari, change 'remotes' to true var noddy, remotes = true; document.addEventListener('click', function(event) { noddy = event.target; // Bubble up until we hit link or top HTML element. Warning: BODY element is not compulsory so better to stop on HTML while(noddy.nodeName !== "A" && noddy.nodeName !== "HTML") { noddy = noddy.parentNode; } if('href' in noddy && noddy.href.indexOf('http') !== -1 && (noddy.href.indexOf(document.location.host) !== -1 || remotes)) { event.preventDefault(); document.location.href = noddy.href; } },false); } ; ;FI"required_assets_digest;F"%73ea53c610027068c0ef1683af7a4a49I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862