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.15 to 3.0.0-alpha.16

2

CHANGELOG.md

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

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

@@ -96,4 +96,4 @@

// Function to embed either YouTube or Vimeo video based on the URL
const miraxEmbed = (playerRef, params) => {
const miraxEmbed = (playerRef, youtubeParams, vimeoParams) => {
const videoUrl = playerRef.getAttribute("mirax-embed-video");

@@ -103,10 +103,8 @@ const isVimeo = videoUrl.includes("vimeo.com");

if (isVimeo) {
embedVimeo(playerRef, params);
embedVimeo(playerRef, vimeoParams);
} else {
embedYouTube(playerRef, params);
embedYouTube(playerRef, youtubeParams);
}
};
// Export functions and types
export { embedYouTube, embedVimeo, miraxEmbed };
export default miraxEmbed;
{
"name": "mirax-player",
"version": "3.0.0-alpha.15",
"version": "3.0.0-alpha.16",
"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