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.2 to 2.3.3-alpha

13

dist/MiraxPlayer.js

@@ -18,4 +18,2 @@ function miraxplayer(video) {

const video = document.querySelector('.mirax-player');
// Get the input element
const input = document.getElementById('comment_video_file');
// Check if the video is loaded

@@ -32,13 +30,2 @@ if (video.readyState == 0) {

}
// Check if the input has a file attached
if (input.files.length == 0) {
// Create a text element
const inputText = document.createElement('p');
// Set the text content
inputText.textContent = 'No file attached';
// Set the class name
inputText.className = 'input-text';
// Append the text element to the input element's parent node
input.parentNode.appendChild(inputText);
}
}

@@ -45,0 +32,0 @@ };

2

package.json
{
"name": "mirax-player",
"version": "2.3.2",
"version": "2.3.3-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",

@@ -8,3 +8,3 @@ <p align="center">

# Mirax Player
[![Latest npm version](https://img.shields.io/badge/npm_%20-v_2.3.2-%23CB3837.svg)](https://www.npmjs.com/package/mirax-player)
[![Latest npm version](https://img.shields.io/badge/npm_%20-v_2.3.3-%23CB3837.svg)](https://www.npmjs.com/package/mirax-player)

@@ -11,0 +11,0 @@ </div>

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