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

detect-audio-video

Package Overview
Dependencies
Maintainers
0
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-audio-video - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

9

dist/index.js

@@ -776,4 +776,7 @@ const AAC_CONTENT_TYPE = 'audio/mp4; codecs="mp4a.40.2"';

}
const video = document.createElement('video');
return Boolean((_a = video.remote) === null || _a === void 0 ? void 0 : _a.watchAvailability);
const video = getDefaultVideoElement();
return Boolean(
// @ts-ignore
video.webkitShowPlaybackTargetPicker || // Safari
((_a = video.remote) === null || _a === void 0 ? void 0 : _a.watchAvailability));
}

@@ -787,3 +790,3 @@ function isPipSupported() {

}
const video = document.createElement('video');
const video = getDefaultVideoElement();
return 'pictureInPictureEnabled' in document || 'webkitPresentationMode' in video;

@@ -790,0 +793,0 @@ }

{
"name": "detect-audio-video",
"version": "2.3.0",
"version": "2.3.1",
"description": "Detect audio and video features in browser",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

@@ -39,6 +39,9 @@ # detect-audio-video

- Media Source Extensions
- Media Source Extensions in Workers
- Encrypted Media Extensions
- Managed Media Source
- Managed Media Source in Workers
- Picture-in-picture
- Cast to AirPlay
- Remote Playback API

@@ -45,0 +48,0 @@ ### 📹 Video codecs

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