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

@eduardoroth/media-player

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eduardoroth/media-player - npm Package Compare versions

Comparing version 1.4.0 to 2.0.0

android/src/main/java/dev/eduardoroth/mediaplayer/MediaPlayerContainer.java

14

dist/docs.json

@@ -422,3 +422,3 @@ {

"name": "addListener",
"signature": "(event: 'MediaPlayer:Seeked', listener: (event: { playerId: string; previousTime: number | undefined; newTime: number; }) => void) => Promise<PluginListenerHandle>",
"signature": "(event: 'MediaPlayer:Seek', listener: (event: { playerId: string; previousTime: number | undefined; newTime: number; }) => void) => Promise<PluginListenerHandle>",
"parameters": [

@@ -428,3 +428,3 @@ {

"docs": "",
"type": "'MediaPlayer:Seeked'"
"type": "'MediaPlayer:Seek'"
},

@@ -443,7 +443,7 @@ {

],
"slug": "addlistenermediaplayerseeked-"
"slug": "addlistenermediaplayerseek-"
},
{
"name": "addListener",
"signature": "(event: 'MediaPlayer:TimeUpdate', listener: (event: { playerId: string; currentTime: number; }) => void) => Promise<PluginListenerHandle>",
"signature": "(event: 'MediaPlayer:TimeUpdated', listener: (event: { playerId: string; currentTime: number; }) => void) => Promise<PluginListenerHandle>",
"parameters": [

@@ -453,3 +453,3 @@ {

"docs": "",
"type": "'MediaPlayer:TimeUpdate'"
"type": "'MediaPlayer:TimeUpdated'"
},

@@ -468,3 +468,3 @@ {

],
"slug": "addlistenermediaplayertimeupdate-"
"slug": "addlistenermediaplayertimeupdated-"
},

@@ -658,3 +658,3 @@ {

{
"text": "{\n enableChromecast?: boolean;\n enablePiP?: boolean;\n enableBackgroundPlay?: boolean;\n openInFullscreen?: boolean;\n automaticallyEnterPiP?: boolean;\n fullscreenOnLandscape?: boolean;\n top?: number;\n left?: number;\n height?: number;\n width?: number;\n}",
"text": "{\n enableChromecast?: boolean;\n enablePiP?: boolean;\n enableBackgroundPlay?: boolean;\n openInFullscreen?: boolean;\n automaticallyEnterPiP?: boolean;\n fullscreenOnLandscape?: boolean;\n top?: number;\n start?: number;\n height?: number;\n width?: number;\n}",
"complexTypes": []

@@ -661,0 +661,0 @@ }

@@ -34,3 +34,3 @@ import type { PluginListenerHandle } from '@capacitor/core';

}) => void): Promise<PluginListenerHandle>;
addListener(event: 'MediaPlayer:Seeked', listener: (event: {
addListener(event: 'MediaPlayer:Seek', listener: (event: {
playerId: string;

@@ -40,3 +40,3 @@ previousTime: number | undefined;

}) => void): Promise<PluginListenerHandle>;
addListener(event: 'MediaPlayer:TimeUpdate', listener: (event: {
addListener(event: 'MediaPlayer:TimeUpdated', listener: (event: {
playerId: string;

@@ -122,3 +122,3 @@ currentTime: number;

top?: number;
left?: number;
start?: number;
height?: number;

@@ -125,0 +125,0 @@ width?: number;

{
"name": "@eduardoroth/media-player",
"version": "1.4.0",
"version": "2.0.0",
"description": "Updated Media Player for iOS, Android and Web",

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

@@ -45,4 +45,4 @@ # @eduardoroth/media-player

* [`addListener('MediaPlayer:Removed', ...)`](#addlistenermediaplayerremoved-)
* [`addListener('MediaPlayer:Seeked', ...)`](#addlistenermediaplayerseeked-)
* [`addListener('MediaPlayer:TimeUpdate', ...)`](#addlistenermediaplayertimeupdate-)
* [`addListener('MediaPlayer:Seek', ...)`](#addlistenermediaplayerseek-)
* [`addListener('MediaPlayer:TimeUpdated', ...)`](#addlistenermediaplayertimeupdated-)
* [`addListener('MediaPlayer:FullScreen', ...)`](#addlistenermediaplayerfullscreen-)

@@ -376,6 +376,6 @@ * [`addListener('MediaPlayer:PictureInPicture', ...)`](#addlistenermediaplayerpictureinpicture-)

### addListener('MediaPlayer:Seeked', ...)
### addListener('MediaPlayer:Seek', ...)
```typescript
addListener(event: 'MediaPlayer:Seeked', listener: (event: { playerId: string; previousTime: number | undefined; newTime: number; }) => void) => Promise<PluginListenerHandle>
addListener(event: 'MediaPlayer:Seek', listener: (event: { playerId: string; previousTime: number | undefined; newTime: number; }) => void) => Promise<PluginListenerHandle>
```

@@ -385,3 +385,3 @@

| -------------- | --------------------------------------------------------------------------------------------- |
| **`event`** | <code>'MediaPlayer:Seeked'</code> |
| **`event`** | <code>'MediaPlayer:Seek'</code> |
| **`listener`** | <code>(event: { playerId: string; previousTime: number; newTime: number; }) =&gt; void</code> |

@@ -394,6 +394,6 @@

### addListener('MediaPlayer:TimeUpdate', ...)
### addListener('MediaPlayer:TimeUpdated', ...)
```typescript
addListener(event: 'MediaPlayer:TimeUpdate', listener: (event: { playerId: string; currentTime: number; }) => void) => Promise<PluginListenerHandle>
addListener(event: 'MediaPlayer:TimeUpdated', listener: (event: { playerId: string; currentTime: number; }) => void) => Promise<PluginListenerHandle>
```

@@ -403,3 +403,3 @@

| -------------- | --------------------------------------------------------------------------- |
| **`event`** | <code>'MediaPlayer:TimeUpdate'</code> |
| **`event`** | <code>'MediaPlayer:TimeUpdated'</code> |
| **`listener`** | <code>(event: { playerId: string; currentTime: number; }) =&gt; void</code> |

@@ -512,3 +512,3 @@

<code>{ enableChromecast?: boolean; enablePiP?: boolean; enableBackgroundPlay?: boolean; openInFullscreen?: boolean; automaticallyEnterPiP?: boolean; fullscreenOnLandscape?: boolean; top?: number; left?: number; height?: number; width?: number; }</code>
<code>{ enableChromecast?: boolean; enablePiP?: boolean; enableBackgroundPlay?: boolean; openInFullscreen?: boolean; automaticallyEnterPiP?: boolean; fullscreenOnLandscape?: boolean; top?: number; start?: number; height?: number; width?: number; }</code>

@@ -515,0 +515,0 @@

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

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

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

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

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