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 2.3.0 to 2.3.1-alpha

9

dist/mirax-player.d.ts
// mirax-player.d.ts
declare module 'mirax-player' {
/* declare module 'mirax-player' {
type VideoPlayerFunction = (video: any) => void;

@@ -9,1 +9,8 @@

}
*/
declare module 'mirax-player' {
type VideoPlayerFunction = (video: any) => void;
export const miraxplayer: VideoPlayerFunction;
}

2

dist/MiraxPlayer.js

@@ -25,3 +25,3 @@ function miraxplayer(video) {

// Set the text content
videoText.textContent = 'Video file not found';
videoText.textContent = 'Video not found';
// Set the class name

@@ -28,0 +28,0 @@ videoText.className = 'video-text';

// mirax-player.d.ts
declare module 'mirax-player' {
/* declare module 'mirax-player' {
type VideoPlayerFunction = (video: any) => void;

@@ -9,1 +9,8 @@

}
*/
declare module 'mirax-player' {
type VideoPlayerFunction = (video: any) => void;
export const miraxplayer: VideoPlayerFunction;
}
{
"name": "mirax-player",
"version": "2.3.0",
"version": "2.3.1-alpha",
"description": "Mirax Player is a video player has compatibility of typescript and javascript for React, Vue, Angular and Svelte.",

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

@@ -108,7 +108,5 @@ <p align="center">

// for react (video file stored: public/clip.mp4)
const [isPlaying, setIsPlaying] = useState(false);
const video = useRef(null);
//
// for vue (video file stored: public/clip.mp4)
const isPlaying = ref(false);
const video = ref(null);

@@ -118,6 +116,4 @@ //

@ViewChild('video', { static: true })
isPlaying: boolean = false;
//
// for svelte (video file stored: public/clip.mp4)
let isPlaying = false;
let video;

@@ -124,0 +120,0 @@ //

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