canPlayVideo(type) → {boolean}
Check whether the host environment can play video files.
Parameters
Name | Type | Description |
---|---|---|
type | string | One of 'mp4, 'ogg', 'webm' or 'mpeg'. |
Returns
boolean -
True if the given file type is supported by the browser, otherwise false.
- Source code: utils/Device.js (Line 1293)
Please login to continue.