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

mirax-player

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mirax-player - npm Package Compare versions

Comparing version 3.0.0-alpha.14 to 3.0.0-alpha.15

2

CHANGELOG.md

@@ -12,5 +12,5 @@ # Changelog

### [3.0.0-alpha.14]
### [3.0.0-alpha.15]
- Initial Alpha Release: Documentation features included in this alpha version.

@@ -110,1 +110,2 @@

export { embedYouTube, embedVimeo, miraxEmbed };
// mirax-player.d.ts
declare module 'mirax-player' {
// TypeScript type definitions for mirax-player module
// Type for the VideoEmbed function
type VideoEmbed = (
playerRef: HTMLDivElement | null,
youtubeParams: { [key: string]: any },
vimeoParams: { [key: string]: any }
) => void;
declare module 'mirax-player' {
// Type for the VideoPlayerFunction
type VideoPlayerFunction = (
videoClip: HTMLVideoElement,
options: {
playerTheme: PlayerTheme,
progressTheme: ProgressTheme
}
) => void;
// Type for PlayerTheme and ProgressTheme
type PlayerTheme =

@@ -11,3 +28,3 @@ | string

| `#${string}`;
type ProgressTheme =

@@ -19,20 +36,5 @@ | string

type VideoPlayerFunction = (
videoClip: HTMLVideoElement,
options: {
playerTheme: PlayerTheme,
progressTheme: ProgressTheme
}
) => void;
// Export the VideoEmbed and VideoPlayerFunction types
export const miraxEmbed: VideoEmbed;
export const miraxplayer: VideoPlayerFunction;
}
declare module 'mirax-player' {
type VideoEmbed = (playerRef: any) => void;
export const miraxEmbed: VideoEmbed;
}
{
"name": "mirax-player",
"version": "3.0.0-alpha.14",
"version": "3.0.0-alpha.15",
"description": "Mirax Player is an adaptable video player and embedding solution that seamlessly integrates with TypeScript and JavaScript applications across a range of popular front-end libraries and frameworks, including React, Vue, Angular, and Svelte.",

@@ -5,0 +5,0 @@ "main": "index.js",

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