1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-10 11:10:19 +02:00
video.js/docs/api/vjs.Html5.md
2015-02-27 00:09:30 +00:00

2.4 KiB

vjs.Html5

EXTENDS: vjs.MediaTechController
DEFINED IN: src/js/media/html5.js#L12

HTML5 Media Controller - Wrapper for HTML5 Media API


INDEX


METHODS

canControlPlaybackRate() STATIC

Check if playbackRate is supported in this browser/device.

RETURNS:
  • [type] [description]

defined in: src/js/media/html5.js#L542


canControlVolume() STATIC

Check if the volume can be changed in this browser/device. Volume cannot be changed in a lot of mobile devices. Specifically, it can't be changed from 1 on iOS.

RETURNS:
  • Boolean

defined in: src/js/media/html5.js#L532


init( player, options, ready )

PARAMETERS:
  • player
  • options
  • ready

defined in: src/js/media/html5.js#L14


isSupported() STATIC

Check if HTML5 video is supported by this browser/device

RETURNS:
  • Boolean

defined in: src/js/media/html5.js#L452


supportsNativeTextTracks() STATIC

Check to see if native text tracks are supported by this browser/device

RETURNS:
  • Boolean

defined in: src/js/media/html5.js#L552


UNDEFINED

nativeSourceHandler STATIC

The default native source handler. This simply passes the source to the video element. Nothing fancy.

PARAMETERS:
  • source Object The source object
  • tech vjs.Html5 The instance of the HTML5 tech

defined in: src/js/media/html5.js#L472