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

@types/vimeo__player

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/vimeo__player - npm Package Compare versions

Comparing version 2.16.2 to 2.16.3

40

vimeo__player/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for @vimeo/player 2.16.3
// Type definitions for @vimeo/player 2.16.4
// Project: https://github.com/vimeo/player.js

@@ -9,2 +9,3 @@ // Definitions by: Denis Yılmaz <https://github.com/denisyilmaz>

// Kohei Watanabe <https://github.com/kou029w>
// Michael Markey <https://github.com/mikeamarkey>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -80,3 +81,3 @@

export interface ChapterChangeEvent {
export interface VimeoChapter {
startTime: number;

@@ -140,2 +141,8 @@ title: string;

export interface VimeoVideoQualityObject {
label: string;
id: string;
active: boolean;
}
export interface QualityChangeEvent {

@@ -145,3 +152,3 @@ quality: VimeoVideoQuality;

export interface CameraChangeEvent {
export interface VimeoCameraProps {
yaw: number;

@@ -207,3 +214,3 @@ pitch: number;

*/
chapterchange: ChapterChangeEvent;
chapterchange: VimeoChapter;

@@ -273,3 +280,3 @@ /**

*/
camerachange: CameraChangeEvent;
camerachange: VimeoCameraProps;

@@ -295,3 +302,3 @@ /**

export type VimeoTimeRange = [number, number];
export type VimeoVideoQuality = '4K' | '2K' | '1080p' | '720p' | '540p' | '360p' | '240p';
export type VimeoVideoQuality = 'auto' | '4K' | '2K' | '1080p' | '720p' | '540p' | '360p' | '240p';

@@ -305,3 +312,7 @@ export class Player {

off(event: string, callback?: EventCallback): void;
loadVideo(id: number | string): VimeoPromise<number, TypeError | PasswordError | PrivacyError | Error>;
loadVideo(id: number): VimeoPromise<number, TypeError | PasswordError | PrivacyError | Error>;
loadVideo(url: string): VimeoPromise<string, TypeError | PasswordError | PrivacyError | Error>;
loadVideo(
options: Options,
): VimeoPromise<{ [prop: string]: any }, TypeError | PasswordError | PrivacyError | Error>;
ready(): VimeoPromise<void, Error>;

@@ -316,2 +327,8 @@ enableTextTrack(

unload(): VimeoPromise<void, Error>;
requestFullscreen(): VimeoPromise<void, Error>;
exitFullscreen(): VimeoPromise<void, Error>;
getFullscreen(): VimeoPromise<boolean, Error>;
requestPictureInPicture(): VimeoPromise<void, Error>;
exitPictureInPicture(): VimeoPromise<void, Error>;
getPictureInPicture(): VimeoPromise<boolean, Error>;
getAutopause(): VimeoPromise<boolean, UnsupportedError | Error>;

@@ -321,2 +338,4 @@ setAutopause(autopause: boolean): VimeoPromise<boolean, UnsupportedError | Error>;

setColor(color: string): VimeoPromise<string, ContrastError | TypeError | Error>;
getChapters(): VimeoPromise<VimeoChapter[], Error>;
getCurrentChapter(): VimeoPromise<VimeoChapter, Error>;
addCuePoint(time: number, data: VimeoCuePointData): VimeoPromise<string, UnsupportedError | RangeError | Error>;

@@ -349,2 +368,7 @@ removeCuePoint(id: string): VimeoPromise<string, UnsupportedError | InvalidCuePoint | Error>;

setVolume(volume: number): VimeoPromise<number, RangeError | Error>;
getQualities(): VimeoPromise<VimeoVideoQualityObject[], Error>;
getQuality(): VimeoPromise<VimeoVideoQuality, Error>;
setQuality(quality: VimeoVideoQuality): VimeoPromise<VimeoVideoQuality, TypeError | Error>;
getCameraProps(): VimeoPromise<VimeoCameraProps, Error>;
setCameraProps(cameraProps: VimeoCameraProps): VimeoPromise<VimeoCameraProps, RangeError | Error>;
destroy(): VimeoPromise<void, Error>;

@@ -381,3 +405,3 @@ }

height?: number | undefined;
interactiveparams?: string | undefined;
interactive_params?: string | undefined;
keyboard?: boolean | undefined;

@@ -384,0 +408,0 @@ loop?: boolean | undefined;

11

vimeo__player/package.json
{
"name": "@types/vimeo__player",
"version": "2.16.2",
"version": "2.16.3",
"description": "TypeScript definitions for @vimeo/player",

@@ -35,2 +35,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vimeo__player",

"githubUsername": "kou029w"
},
{
"name": "Michael Markey",
"url": "https://github.com/mikeamarkey",
"githubUsername": "mikeamarkey"
}

@@ -47,4 +52,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "9744f0b47a685b210904605381b8461d6df17aff4cc41967ad978eca41dc4717",
"typeScriptVersion": "3.8"
"typesPublisherContentHash": "4f01a0876583e8b271d306c5e9c31240f712b96b6de90ca56071c3a2da63794b",
"typeScriptVersion": "3.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 15 Feb 2022 21:01:37 GMT
* Last updated: Mon, 02 May 2022 21:01:46 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [Denis Yılmaz](https://github.com/denisyilmaz), [Felix Albert](f.albert.work@icloud.com), [Tim Chen](https://github.com/timc13), [Terry Mun](https://github.com/terrymun), [Coskun Deniz](deniz@tassomai.com), and [Kohei Watanabe](https://github.com/kou029w).
These definitions were written by [Denis Yılmaz](https://github.com/denisyilmaz), [Felix Albert](f.albert.work@icloud.com), [Tim Chen](https://github.com/timc13), [Terry Mun](https://github.com/terrymun), [Coskun Deniz](deniz@tassomai.com), [Kohei Watanabe](https://github.com/kou029w), and [Michael Markey](https://github.com/mikeamarkey).
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