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

react-video-renderer

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-video-renderer - npm Package Compare versions

Comparing version 2.4.3 to 2.4.4

3

dist/es2015/video.d.ts

@@ -18,2 +18,3 @@ /// <reference types="react" />

export declare type SetVolumeFunction = (volume: number) => void;
export declare type SetPlaybackSpeed = (volume: number) => void;
export interface VideoActions {

@@ -24,2 +25,3 @@ play: () => void;

setVolume: SetVolumeFunction;
setPlaybackSpeed: SetPlaybackSpeed;
requestFullscreen: () => void;

@@ -70,2 +72,3 @@ mute: () => void;

private setVolume;
private setPlaybackSpeed;
private requestFullscreen;

@@ -72,0 +75,0 @@ private mute;

8

dist/es2015/video.js

@@ -93,2 +93,5 @@ var __extends = (this && this.__extends) || (function () {

};
_this.setPlaybackSpeed = function (playbackSpeed) {
_this.mediaRef.current && (_this.mediaRef.current.playbackRate = playbackSpeed);
};
_this.requestFullscreen = function () {

@@ -168,3 +171,3 @@ var sourceType = _this.props.sourceType;

get: function () {
var _a = this, play = _a.play, pause = _a.pause, navigate = _a.navigate, setVolume = _a.setVolume, requestFullscreen = _a.requestFullscreen, mute = _a.mute, unmute = _a.unmute, toggleMute = _a.toggleMute;
var _a = this, play = _a.play, pause = _a.pause, navigate = _a.navigate, setVolume = _a.setVolume, setPlaybackSpeed = _a.setPlaybackSpeed, requestFullscreen = _a.requestFullscreen, mute = _a.mute, unmute = _a.unmute, toggleMute = _a.toggleMute;
return {

@@ -175,6 +178,7 @@ play: play,

setVolume: setVolume,
setPlaybackSpeed: setPlaybackSpeed,
requestFullscreen: requestFullscreen,
mute: mute,
unmute: unmute,
toggleMute: toggleMute
toggleMute: toggleMute,
};

@@ -181,0 +185,0 @@ },

@@ -18,2 +18,3 @@ /// <reference types="react" />

export declare type SetVolumeFunction = (volume: number) => void;
export declare type SetPlaybackSpeed = (volume: number) => void;
export interface VideoActions {

@@ -24,2 +25,3 @@ play: () => void;

setVolume: SetVolumeFunction;
setPlaybackSpeed: SetPlaybackSpeed;
requestFullscreen: () => void;

@@ -70,2 +72,3 @@ mute: () => void;

private setVolume;
private setPlaybackSpeed;
private requestFullscreen;

@@ -72,0 +75,0 @@ private mute;

@@ -95,2 +95,5 @@ "use strict";

};
_this.setPlaybackSpeed = function (playbackSpeed) {
_this.mediaRef.current && (_this.mediaRef.current.playbackRate = playbackSpeed);
};
_this.requestFullscreen = function () {

@@ -170,3 +173,3 @@ var sourceType = _this.props.sourceType;

get: function () {
var _a = this, play = _a.play, pause = _a.pause, navigate = _a.navigate, setVolume = _a.setVolume, requestFullscreen = _a.requestFullscreen, mute = _a.mute, unmute = _a.unmute, toggleMute = _a.toggleMute;
var _a = this, play = _a.play, pause = _a.pause, navigate = _a.navigate, setVolume = _a.setVolume, setPlaybackSpeed = _a.setPlaybackSpeed, requestFullscreen = _a.requestFullscreen, mute = _a.mute, unmute = _a.unmute, toggleMute = _a.toggleMute;
return {

@@ -177,6 +180,7 @@ play: play,

setVolume: setVolume,
setPlaybackSpeed: setPlaybackSpeed,
requestFullscreen: requestFullscreen,
mute: mute,
unmute: unmute,
toggleMute: toggleMute
toggleMute: toggleMute,
};

@@ -183,0 +187,0 @@ },

{
"name": "react-video-renderer",
"version": "2.4.3",
"version": "2.4.4",
"main": "dist/es5/index.js",

@@ -13,2 +13,3 @@ "jsnext:main": "dist/es2015/index.js",

"@atlaskit/button": "^7.0.2",
"@atlaskit/field-range": "^9.0.0",
"@atlaskit/icon": "^11.0.0",

@@ -15,0 +16,0 @@ "@atlaskit/single-select": "^4.0.3",

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