Sha256: cb4564cb28be8bb51bc59ddf34ee3cd085c9e61aff2ea67bcffc3127771868be

Contents?: true

Size: 1.92 KB

Versions: 4

Compression:

Stored size: 1.92 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1355857733.3664992:@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-28T11:14:13-05:00;FI"length;FiI"digest;F"%2e6d0b9d46410381bbd9e355fd990b12I"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"%216909f00cf366f78b14fd85c1e17554I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
woople-theme-0.10.0 spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
woople-theme-0.9.0 spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
woople-theme-0.8.19 spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
woople-theme-0.8.18 spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994