Sha256: 7398bb6468d05bb213c0bbd896fc0ec71d8b23350e20d2392260f5c8f294b953

Contents?: true

Size: 737 Bytes

Versions: 12

Compression:

Stored size: 737 Bytes

Contents

//= require_self
//= require ./video_player/prebuffering
//= require ./video_player/buffer_underrun_waiting
//= require ./video_player/src_from_options_method
//= require ./video_player/play_button_patch
//= require ./video_player/player_buffered_patch
//= require ./video_player/filter_for_silk
//= require ./video_player/lazy

pageflow.VideoPlayer = function(element, options) {
  options = options || {};

  element = pageflow.VideoPlayer.filterSourcesForSilkBrowser(element);
  var player = vjs(element, options);

  pageflow.VideoPlayer.prebuffering(player);
  pageflow.VideoPlayer.srcFromOptionsMethod(player);

  if (options.bufferUnderrunWaiting) {
    pageflow.VideoPlayer.bufferUnderrunWaiting(player);
  }

  return player;
};

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pageflow-0.6.0 app/assets/javascripts/pageflow/video_player.js
pageflow-0.5.0 app/assets/javascripts/pageflow/video_player.js
pageflow-0.4.0 app/assets/javascripts/pageflow/video_player.js
pageflow-0.3.0 app/assets/javascripts/pageflow/video_player.js
pageflow-0.2.1 app/assets/javascripts/pageflow/video_player.js
pageflow-0.2.0 app/assets/javascripts/pageflow/video_player.js
pageflow-0.1.0 app/assets/javascripts/pageflow/video_player.js
pageflow-0.0.5 app/assets/javascripts/pageflow/video_player.js
pageflow-0.0.4 app/assets/javascripts/pageflow/video_player.js
pageflow-0.0.3 app/assets/javascripts/pageflow/video_player.js
pageflow-0.0.2 app/assets/javascripts/pageflow/video_player.js
pageflow-0.0.1 app/assets/javascripts/pageflow/video_player.js