Socket
Socket
Sign inDemoInstall

castable-video

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

castable-video - npm Package Compare versions

Comparing version 1.0.10 to 1.1.0

16

castable-mixin.js

@@ -33,2 +33,3 @@ /* global chrome */

#castOptions = getDefaultCastOptions();
#castCustomData;
#remote;

@@ -93,2 +94,3 @@

const mediaInfo = new chrome.cast.media.MediaInfo(this.castSrc, this.castContentType);
mediaInfo.customData = this.castCustomData;

@@ -226,2 +228,16 @@ // Manually add text tracks with a `src` attribute.

get castCustomData() {
return this.#castCustomData;
}
set castCustomData(val) {
const valType = typeof val;
if (!['object', 'undefined'].includes(valType)) {
console.error(`castCustomData must be nullish or an object but value was of type ${valType}`);
return;
}
this.#castCustomData = val;
}
get readyState() {

@@ -228,0 +244,0 @@ if (this.#castPlayer) {

2

package.json
{
"name": "castable-video",
"version": "1.0.10",
"version": "1.1.0",
"description": "Cast your video element to the big screen with ease!",

@@ -5,0 +5,0 @@ "author": "@muxinc",

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