video.js

Methods

inner videojs(id, optionsopt, readyopt) → {Player}

Doubles as the main function for users to create a player instance and also the main library object. The videojs function can be used to initialize or retrieve a player.

Parameters:
Name Type Attributes Description
id string | Element

Video element or video element ID

options Object <optional>

Optional options object for config/settings

ready Component~ReadyCallback <optional>

Optional ready callback

Returns:
Player -

A player instance

Mixes In: