media-features-conjurer
v3.0.2
Published
Get media capabilities from browsers
Downloads
11
Readme
Media Features Conjurer
Check media playing capabilities on the web browser.
import { mediaFeaturesConjurer } from 'media-features-conjurer';
const result = await mediaFeaturesConjurer({
testSamples: {
mp3: 'url/sample.mp3',
flac: 'url/sample.flac',
m4a: 'url/sample.m4a',
ogg: 'url/sample.ogg',
opus: 'url/sample.opus',
webm: 'url/sample.webm',
wav: 'url/sample.wav',
mp4: 'url/sample.mp4'
}
});
// make things with the result