mirax-player
Advanced tools
Comparing version 2.3.2 to 2.3.3-alpha
@@ -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 @@ }; |
{ | ||
"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> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40755
652
2