custom-media-element
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -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", |
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
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
16272