New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jwplayer-video-element

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jwplayer-video-element - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

20

jwplayer-video-element.js
import { SuperVideoElement } from 'super-media-element';
const templateLightDOM = document.createElement('template');
templateLightDOM.innerHTML = `
templateLightDOM.innerHTML = /*html*/`
<style class="jw-style">

@@ -15,6 +15,14 @@ .jw-no-controls [class*="jw-controls"],

const templateShadowDOM = document.createElement('template');
templateShadowDOM.innerHTML = `
templateShadowDOM.innerHTML = /*html*/`
<style>
:host {
display: inline-block;
min-width: 300px;
min-height: 150px;
position: relative;
}
::slotted(.jwplayer) {
position: absolute !important;
width: 100%;
height: 100%;
}

@@ -115,9 +123,3 @@ </style>

if (this.controls == val) return;
if (val) {
this.setAttribute('controls', '');
} else {
// Remove boolean attribute if false, 0, '', null, undefined.
this.removeAttribute('controls');
}
this.toggleAttribute('controls', Boolean(val));
}

@@ -124,0 +126,0 @@

{
"name": "jwplayer-video-element",
"version": "0.2.3",
"version": "0.2.4",
"description": "A custom element for the JW player with an API that matches the `<video>` API",

@@ -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