detect-audio-video
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -211,3 +211,6 @@ const H264_BASELINE_CONTENT_TYPE = 'video/mp4; codecs="avc1.42E01E"'; | ||
try { | ||
result = window.matchMedia('(dynamic-range: high)').matches; | ||
result = window.matchMedia('(dynamic-range: high)').matches || | ||
// https://developer.mozilla.org/en-US/docs/Web/CSS/@media/video-dynamic-range | ||
// For Firefox users on macOS 11+ (with HDR-compatible screens) | ||
window.matchMedia('(video-dynamic-range: high)').matches; | ||
} | ||
@@ -214,0 +217,0 @@ catch (e) { } |
{ | ||
"name": "detect-audio-video", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Detect audio video features", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
18579
438