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

custom-media-element

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-media-element - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

10

custom-media-element.js

@@ -289,11 +289,11 @@ /**

if (!this.nativeEl) {
// Neither Chrome or Firefox support setting the muted attribute
// after using document.createElement.
// Get around this by setting the muted property manually.
const nativeEl = document.createElement(tag, { is });
nativeEl.muted = this.hasAttribute('muted');
nativeEl.part = tag;
this.shadowRoot.append(nativeEl);
}
// Neither Chrome or Firefox support setting the muted attribute
// after using document.createElement.
// Get around this by setting the muted property manually.
this.nativeEl.muted = this.hasAttribute('muted');
}

@@ -300,0 +300,0 @@

{
"name": "custom-media-element",
"version": "0.1.6",
"version": "0.1.7",
"description": "A custom element for extending the native media elements (<audio> or <video>)",

@@ -5,0 +5,0 @@ "type": "module",

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