browser.js

Members

static, constant ANDROID_VERSION :number|string|null

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 53](https://docs.videojs.com/utils_browser.js.html#line53)

The detected Android version - or null.

static, constant CHROME_VERSION :number|null

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 119](https://docs.videojs.com/utils_browser.js.html#line119)

The detected Google Chrome version - or null.

static, constant IE_VERSION :number|null

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 135](https://docs.videojs.com/utils_browser.js.html#line135)

The detected Internet Explorer version - or null.

static, constant IOS_VERSION :string|null

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 28](https://docs.videojs.com/utils_browser.js.html#line28)

The detected iOS version - or null.

static, constant IS_ANDROID :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 44](https://docs.videojs.com/utils_browser.js.html#line44)

Whether or not this is an Android device.

static, constant IS_ANY_SAFARI :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 215](https://docs.videojs.com/utils_browser.js.html#line215)

Whether or not this is any flavor of Safari - including iOS.

static, constant IS_CHROME :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 110](https://docs.videojs.com/utils_browser.js.html#line110)

Whether or not this is Google Chrome.

This will also be true for Chrome on iOS, which will have different support as it is actually Safari under the hood.

static, constant IS_EDGE :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 98](https://docs.videojs.com/utils_browser.js.html#line98)

Whether or not this is Microsoft Edge.

static, constant IS_FIREFOX :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 89](https://docs.videojs.com/utils_browser.js.html#line89)

Whether or not this is Mozilla Firefox.

static, constant IS_IOS :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 206](https://docs.videojs.com/utils_browser.js.html#line206)

Whether or not this is an iOS device.

static, constant IS_IPAD :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 184](https://docs.videojs.com/utils_browser.js.html#line184)

Whether or not this device is an iPad.

static, constant IS_IPHONE :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 197](https://docs.videojs.com/utils_browser.js.html#line197)

Whether or not this device is an iPhone.

static, constant IS_IPOD :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 19](https://docs.videojs.com/utils_browser.js.html#line19)

Whether or not this device is an iPod.

static, constant IS_NATIVE_ANDROID :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 80](https://docs.videojs.com/utils_browser.js.html#line80)

Whether or not this is a native Android browser.

static, constant IS_SAFARI :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 154](https://docs.videojs.com/utils_browser.js.html#line154)

Whether or not this is desktop Safari.

static, constant IS_WINDOWS :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 163](https://docs.videojs.com/utils_browser.js.html#line163)

Whether or not this is a Windows machine.

static, constant TOUCH_ENABLED :Boolean

[utils/browser.js](https://docs.videojs.com/utils_browser.js.html), [line 172](https://docs.videojs.com/utils_browser.js.html#line172)

Whether or not this device is touch-enabled.