Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

yields/canplaytype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

canplaytype

Audio canplaytype douchebaggery removed

Installation

$ component install yields/canplaytype

API

canplaytype([type])

the type is defaulted to audio/mpeg;.

canplaytype();
// > maybe

// no window.Audio
canplaytype();
// > false

// cannot play the given type
canplaytype('foo');
// > false

License

MIT

About

canPlayType douchebaggery removed

Resources

Stars

Watchers

Forks

Packages

No packages published