From 14cd8a861efe666ab1d8fab44327b38a67fbd162 Mon Sep 17 00:00:00 2001
From: Florian Larysch
Date: Thu, 29 Dec 2016 02:04:25 +0100
Subject: add clappr
---
.../clapprio/38861cba61c66739c1452c3a71e39852.ttf | Bin 0 -> 32652 bytes
.../clapprio/4b76590b32dab62bc95c1b7951efae78.swf | Bin 0 -> 3204 bytes
.../clapprio/809981e5b09d5336c45d72d0869ada2a.swf | Bin 0 -> 63602 bytes
.../clapprio/a8c874b93b3d848f39a71260c57e3863.cur | Bin 0 -> 326 bytes
assets/clapprio/clappr.js | 31516 +++++++++++++++++++
assets/clapprio/clappr.min.js | 16 +
assets/clapprio/clappr.min.js.map | 1 +
7 files changed, 31533 insertions(+)
create mode 100644 assets/clapprio/38861cba61c66739c1452c3a71e39852.ttf
create mode 100644 assets/clapprio/4b76590b32dab62bc95c1b7951efae78.swf
create mode 100644 assets/clapprio/809981e5b09d5336c45d72d0869ada2a.swf
create mode 100644 assets/clapprio/a8c874b93b3d848f39a71260c57e3863.cur
create mode 100644 assets/clapprio/clappr.js
create mode 100644 assets/clapprio/clappr.min.js
create mode 100644 assets/clapprio/clappr.min.js.map
diff --git a/assets/clapprio/38861cba61c66739c1452c3a71e39852.ttf b/assets/clapprio/38861cba61c66739c1452c3a71e39852.ttf
new file mode 100644
index 0000000..7b25f3c
Binary files /dev/null and b/assets/clapprio/38861cba61c66739c1452c3a71e39852.ttf differ
diff --git a/assets/clapprio/4b76590b32dab62bc95c1b7951efae78.swf b/assets/clapprio/4b76590b32dab62bc95c1b7951efae78.swf
new file mode 100644
index 0000000..30bdf3d
Binary files /dev/null and b/assets/clapprio/4b76590b32dab62bc95c1b7951efae78.swf differ
diff --git a/assets/clapprio/809981e5b09d5336c45d72d0869ada2a.swf b/assets/clapprio/809981e5b09d5336c45d72d0869ada2a.swf
new file mode 100644
index 0000000..68619a7
Binary files /dev/null and b/assets/clapprio/809981e5b09d5336c45d72d0869ada2a.swf differ
diff --git a/assets/clapprio/a8c874b93b3d848f39a71260c57e3863.cur b/assets/clapprio/a8c874b93b3d848f39a71260c57e3863.cur
new file mode 100644
index 0000000..41aaa62
Binary files /dev/null and b/assets/clapprio/a8c874b93b3d848f39a71260c57e3863.cur differ
diff --git a/assets/clapprio/clappr.js b/assets/clapprio/clappr.js
new file mode 100644
index 0000000..1ee0b0a
--- /dev/null
+++ b/assets/clapprio/clappr.js
@@ -0,0 +1,31516 @@
+(function webpackUniversalModuleDefinition(root, factory) {
+ if(typeof exports === 'object' && typeof module === 'object')
+ module.exports = factory();
+ else if(typeof define === 'function' && define.amd)
+ define([], factory);
+ else if(typeof exports === 'object')
+ exports["Clappr"] = factory();
+ else
+ root["Clappr"] = factory();
+})(this, function() {
+return /******/ (function(modules) { // webpackBootstrap
+/******/ // The module cache
+/******/ var installedModules = {};
+
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+
+/******/ // Check if module is in cache
+/******/ if(installedModules[moduleId])
+/******/ return installedModules[moduleId].exports;
+
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = installedModules[moduleId] = {
+/******/ exports: {},
+/******/ id: moduleId,
+/******/ loaded: false
+/******/ };
+
+/******/ // Execute the module function
+/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+
+/******/ // Flag the module as loaded
+/******/ module.loaded = true;
+
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+
+
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = modules;
+
+/******/ // expose the module cache
+/******/ __webpack_require__.c = installedModules;
+
+/******/ // __webpack_public_path__
+/******/ __webpack_require__.p = "<%=baseUrl%>/";
+
+/******/ // Load entry module and return exports
+/******/ return __webpack_require__(0);
+/******/ })
+/************************************************************************/
+/******/ ([
+/* 0 */
+/***/ function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _player = __webpack_require__(1);
+
+ var _player2 = _interopRequireDefault(_player);
+
+ var _utils = __webpack_require__(2);
+
+ var _utils2 = _interopRequireDefault(_utils);
+
+ var _events = __webpack_require__(5);
+
+ var _events2 = _interopRequireDefault(_events);
+
+ var _playback = __webpack_require__(31);
+
+ var _playback2 = _interopRequireDefault(_playback);
+
+ var _container_plugin = __webpack_require__(85);
+
+ var _container_plugin2 = _interopRequireDefault(_container_plugin);
+
+ var _core_plugin = __webpack_require__(105);
+
+ var _core_plugin2 = _interopRequireDefault(_core_plugin);
+
+ var _ui_core_plugin = __webpack_require__(100);
+
+ var _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);
+
+ var _ui_container_plugin = __webpack_require__(80);
+
+ var _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);
+
+ var _base_object = __webpack_require__(4);
+
+ var _base_object2 = _interopRequireDefault(_base_object);
+
+ var _ui_object = __webpack_require__(18);
+
+ var _ui_object2 = _interopRequireDefault(_ui_object);
+
+ var _browser = __webpack_require__(3);
+
+ var _browser2 = _interopRequireDefault(_browser);
+
+ var _container = __webpack_require__(22);
+
+ var _container2 = _interopRequireDefault(_container);
+
+ var _core = __webpack_require__(13);
+
+ var _core2 = _interopRequireDefault(_core);
+
+ var _loader = __webpack_require__(48);
+
+ var _loader2 = _interopRequireDefault(_loader);
+
+ var _mediator = __webpack_require__(30);
+
+ var _mediator2 = _interopRequireDefault(_mediator);
+
+ var _media_control = __webpack_require__(27);
+
+ var _media_control2 = _interopRequireDefault(_media_control);
+
+ var _player_info = __webpack_require__(45);
+
+ var _player_info2 = _interopRequireDefault(_player_info);
+
+ var _base_flash_playback = __webpack_require__(56);
+
+ var _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);
+
+ var _flash = __webpack_require__(54);
+
+ var _flash2 = _interopRequireDefault(_flash);
+
+ var _flashls = __webpack_require__(63);
+
+ var _flashls2 = _interopRequireDefault(_flashls);
+
+ var _hls = __webpack_require__(67);
+
+ var _hls2 = _interopRequireDefault(_hls);
+
+ var _html5_audio = __webpack_require__(61);
+
+ var _html5_audio2 = _interopRequireDefault(_html5_audio);
+
+ var _html5_video = __webpack_require__(51);
+
+ var _html5_video2 = _interopRequireDefault(_html5_video);
+
+ var _html_img = __webpack_require__(71);
+
+ var _html_img2 = _interopRequireDefault(_html_img);
+
+ var _no_op = __webpack_require__(74);
+
+ var _no_op2 = _interopRequireDefault(_no_op);
+
+ var _poster = __webpack_require__(90);
+
+ var _poster2 = _interopRequireDefault(_poster);
+
+ var _log = __webpack_require__(6);
+
+ var _log2 = _interopRequireDefault(_log);
+
+ var _styler = __webpack_require__(15);
+
+ var _styler2 = _interopRequireDefault(_styler);
+
+ var _vendor = __webpack_require__(8);
+
+ var _vendor2 = _interopRequireDefault(_vendor);
+
+ var _template = __webpack_require__(17);
+
+ var _template2 = _interopRequireDefault(_template);
+
+ var _clapprZepto = __webpack_require__(16);
+
+ var _clapprZepto2 = _interopRequireDefault(_clapprZepto);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+ var version = ("0.2.64"); // Copyright 2014 Globo.com Player authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
+ exports.default = {
+ Player: _player2.default,
+ Mediator: _mediator2.default,
+ Events: _events2.default,
+ Browser: _browser2.default,
+ PlayerInfo: _player_info2.default,
+ MediaControl: _media_control2.default,
+ ContainerPlugin: _container_plugin2.default,
+ UIContainerPlugin: _ui_container_plugin2.default,
+ CorePlugin: _core_plugin2.default,
+ UICorePlugin: _ui_core_plugin2.default,
+ Playback: _playback2.default,
+ Container: _container2.default,
+ Core: _core2.default,
+ Loader: _loader2.default,
+ BaseObject: _base_object2.default,
+ UIObject: _ui_object2.default,
+ Utils: _utils2.default,
+ BaseFlashPlayback: _base_flash_playback2.default,
+ Flash: _flash2.default,
+ FlasHLS: _flashls2.default,
+ HLS: _hls2.default,
+ HTML5Audio: _html5_audio2.default,
+ HTML5Video: _html5_video2.default,
+ HTMLImg: _html_img2.default,
+ NoOp: _no_op2.default,
+ Poster: _poster2.default,
+ Log: _log2.default,
+ Styler: _styler2.default,
+ Vendor: _vendor2.default,
+ version: version,
+ template: _template2.default,
+ $: _clapprZepto2.default
+ };
+ module.exports = exports['default'];
+
+/***/ },
+/* 1 */
+/***/ function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+
+ var _utils = __webpack_require__(2);
+
+ var _base_object = __webpack_require__(4);
+
+ var _base_object2 = _interopRequireDefault(_base_object);
+
+ var _events = __webpack_require__(5);
+
+ var _events2 = _interopRequireDefault(_events);
+
+ var _browser = __webpack_require__(3);
+
+ var _browser2 = _interopRequireDefault(_browser);
+
+ var _core_factory = __webpack_require__(11);
+
+ var _core_factory2 = _interopRequireDefault(_core_factory);
+
+ var _loader = __webpack_require__(48);
+
+ var _loader2 = _interopRequireDefault(_loader);
+
+ var _player_info = __webpack_require__(45);
+
+ var _player_info2 = _interopRequireDefault(_player_info);
+
+ var _clapprZepto = __webpack_require__(16);
+
+ var _clapprZepto2 = _interopRequireDefault(_clapprZepto);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
+ var baseUrl = (0, _utils.currentScriptUrl)().replace(/\/[^\/]+$/, '');
+
+ /**
+ * @class Player
+ * @constructor
+ * @extends BaseObject
+ * @module components
+ * @example
+ * ### Using the Player
+ *
+ * Add the following script on your HTML:
+ * ```html
+ *
+ *
+ *
+ * ```
+ * Now, create the player:
+ * ```html
+ *
+ *
+ *
+ *
+ * ```
+ */
+
+ var Player = function (_BaseObject) {
+ _inherits(Player, _BaseObject);
+
+ _createClass(Player, [{
+ key: 'loader',
+ set: function set(loader) {
+ this._loader = loader;
+ },
+ get: function get() {
+ if (!this._loader) {
+ this._loader = new _loader2.default(this.options.plugins || {}, this.options.playerId);
+ }
+ return this._loader;
+ }
+
+ /**
+ * Determine if the playback has ended.
+ * @property ended
+ * @type Boolean
+ */
+
+ }, {
+ key: 'ended',
+ get: function get() {
+ return this.core.mediaControl.container.ended;
+ }
+
+ /**
+ * Determine if the playback is having to buffer in order for
+ * playback to be smooth.
+ * (i.e if a live stream is playing smoothly, this will be false)
+ * @property buffering
+ * @type Boolean
+ */
+
+ }, {
+ key: 'buffering',
+ get: function get() {
+ return this.core.mediaControl.container.buffering;
+ }
+
+ /*
+ * determine if the player is ready.
+ * @property isReady
+ * @type {Boolean} `true` if the player is ready. ie PLAYER_READY event has fired
+ */
+
+ }, {
+ key: 'isReady',
+ get: function get() {
+ return !!this._ready;
+ }
+
+ /**
+ * An events map that allows the user to add custom callbacks in player's options.
+ * @property eventsMapping
+ * @type {Object}
+ */
+
+ }, {
+ key: 'eventsMapping',
+ get: function get() {
+ return {
+ onReady: _events2.default.PLAYER_READY,
+ onResize: _events2.default.PLAYER_RESIZE,
+ onPlay: _events2.default.PLAYER_PLAY,
+ onPause: _events2.default.PLAYER_PAUSE,
+ onStop: _events2.default.PLAYER_STOP,
+ onEnded: _events2.default.PLAYER_ENDED,
+ onSeek: _events2.default.PLAYER_SEEK,
+ onError: _events2.default.PLAYER_ERROR,
+ onTimeUpdate: _events2.default.PLAYER_TIMEUPDATE,
+ onVolumeUpdate: _events2.default.PLAYER_VOLUMEUPDATE
+ };
+ }
+
+ /**
+ * ## Player's constructor
+ *
+ * You might pass the options object to build the player.
+ * ```javascript
+ * var options = {source: "http://example.com/video.mp4", param1: "val1"};
+ * var player = new Clappr.Player(options);
+ * ```
+ *
+ * @method constructor
+ * @param {Object} options Data
+ * options to build a player instance
+ * @param {Number} [options.width]
+ * player's width **default**: `640`
+ * @param {Number} [options.height]
+ * player's height **default**: `360`
+ * @param {String} [options.parentId]
+ * the id of the element on the page that the player should be inserted into
+ * @param {Object} [options.parent]
+ * a reference to a dom element that the player should be inserted into
+ * @param {String} [options.source]
+ * The media source URL, or {source: <