Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clappr

Package Overview
Dependencies
Maintainers
6
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clappr - npm Package Compare versions

Comparing version 0.2.58 to 0.2.59

coverage/Chrome 44.0.2403 (Mac OS X 10.11.0)/lcov.info

4

.eslintrc.js

@@ -15,3 +15,5 @@ module.exports = {

"expect": false,
"it": false
"it": false,
"beforeEach": false,
"sinon": false
},

@@ -18,0 +20,0 @@ "extends": "eslint:recommended",

@@ -44,2 +44,4 @@ ## Built-in Plugins & Embed Parameters

If you want to provide your translations, create a PR by editing the [Strings][https://github.com/clappr/clappr/blob/master/src/plugins/strings.js#L36-L50] plugin.
##### Allow user interaction (in chromeless mode)

@@ -46,0 +48,0 @@ Add `allowUserInteraction: true` if you want the player to handle clicks/taps when in chromeless mode. By default it's set to `false` on desktop browsers, and `true` on mobile browsers (due to playback start only being allowed when started through user interaction).

{
"name": "clappr",
"version": "0.2.58",
"version": "0.2.59",
"description": "An extensible media player for the web",

@@ -5,0 +5,0 @@ "main": "./dist/clappr.js",

@@ -18,2 +18,5 @@ // Copyright 2014 Globo.com Player authors. All rights reserved.

export default class ContainerFactory extends BaseObject {
get options() { return this._options }
set options(options) { this._options = options }
constructor(options, loader, i18n) {

@@ -58,3 +61,3 @@ super(options)

options = $.extend(options, {playback: playback})
options = $.extend({}, options, {playback: playback})

@@ -61,0 +64,0 @@ var container = new Container(options, this._i18n)

@@ -9,2 +9,3 @@ // Copyright 2014 Globo.com Player authors. All rights reserved.

// TODO: remove this playback and change HTML5Video to HTML5Playback (breaking change, only after 0.3.0)
export default class HTML5Audio extends HTML5Video {

@@ -11,0 +12,0 @@ get name() { return 'html5_audio' }

@@ -36,2 +36,3 @@ // Copyright 2014 Globo.com Player authors. All rights reserved.

// TODO: rename this Playback to HTML5Playback (breaking change, only after 0.3.0)
export default class HTML5Video extends Playback {

@@ -299,3 +300,3 @@ get name() { return 'html5_video' }

var playheadShouldBeMoving = !this.el.ended && !this.el.paused
var buffering = this._loadStarted && !this.el.ended && !this.stopped && ((playheadShouldBeMoving && !this._playheadMoving) || this.el.readyState < this.el.HAVE_FUTURE_DATA)
var buffering = this._loadStarted && !this.el.ended && !this._stopped && ((playheadShouldBeMoving && !this._playheadMoving) || this.el.readyState < this.el.HAVE_FUTURE_DATA)
if (this._bufferingState !== buffering) {

@@ -302,0 +303,0 @@ this._bufferingState = buffering

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc