forked from Modernizr/Modernizr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mediastream feature detect (Modernizr#2669)
* Create mediastream.js * added mediarecorder as test * Update config-all.json * Added metadata to mediastream.js * Update mediastream.js * Removed extra line, added a new tag 'media' * moved mediastream.js to /webrtc dir * Update config-all.json
- Loading branch information
1 parent
594c996
commit 049b6ca
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/*! | ||
{ | ||
"name": "MediaStream Recording API", | ||
"property": "mediarecorder", | ||
"caniuse": "mediarecorder", | ||
"tags": ["mediarecorder", "media"], | ||
"authors": ["Onkar Dahale"], | ||
"notes": [{ | ||
"name": "MDN Docs", | ||
"href": "https://developer.mozilla.org/en-US/docs/Web/API/MediaStream_Recording_API" | ||
}] | ||
} | ||
!*/ | ||
/* DOC | ||
Detects support for the MediaStream Recording API. | ||
*/ | ||
define(['Modernizr'], function (Modernizr) { | ||
Modernizr.addTest('mediastream', typeof MediaRecorder !== "undefined" ); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters