2016-12-20 23:55:59 +02:00
# [Video.js][vjs-website] Documentation
2012-11-15 02:51:05 +03:00
2017-03-21 23:13:06 +02:00
There are two categories of docs: [Guides ](/docs/guides/ ) and [API docs][api].
2012-01-06 10:25:09 +03:00
2016-12-02 21:27:59 +02:00
Guides explain general topics and use cases (e.g. setup). API docs are automatically generated from the codebase and give specific details about functions, properties, and events.
2012-11-15 02:51:05 +03:00
2016-12-20 23:55:59 +02:00
## Table of Contents
* [Resolving Issues ](#resolving-issues )
* [FAQ ](#faq )
* [Troubleshooting ](#troubleshooting )
* [Guides ](#guides )
* [Getting Started ](#getting-started )
* [Setup ](#setup )
* [Player Workflows ](#player-workflows )
* [Options ](#options )
* [Tracks ](#tracks )
* [Customizing ](#customizing )
* [Skins ](#skins )
* [Plugins ](#plugins )
* [Components ](#components )
* [Tech ](#tech )
* [Languages ](#languages )
* [Hooks ](#hooks )
2018-04-17 20:48:04 +02:00
* [Debugging ](#debugging )
2016-12-20 23:55:59 +02:00
* [API Docs ](#api-docs )
## Resolving Issues
2017-03-21 23:13:06 +02:00
### [FAQ](/docs/guides/faq.md)
2016-12-20 23:55:59 +02:00
2017-08-14 23:02:48 +02:00
The frequently asked questions for Video.js.
2016-12-20 23:55:59 +02:00
2017-03-21 23:13:06 +02:00
### [Troubleshooting](/docs/guides/troubleshooting.md)
2016-12-20 23:55:59 +02:00
2017-08-14 23:02:48 +02:00
Troubleshooting help for Video.js.
2016-12-20 23:55:59 +02:00
2017-03-21 23:13:06 +02:00
## [Guides](/docs/guides/)
2012-11-15 02:51:05 +03:00
2013-10-29 04:25:28 +03:00
### Getting Started
2012-11-15 02:51:05 +03:00
2017-03-21 23:13:06 +02:00
#### [Setup](/docs/guides/setup.md)
2016-12-20 23:55:59 +02:00
The setup guide covers all methods of setting up Video.js players.
2016-12-02 21:27:59 +02:00
2017-03-21 23:13:06 +02:00
#### [Player Workflows](/docs/guides/player-workflows.md)
2016-12-02 21:27:59 +02:00
2016-12-20 23:55:59 +02:00
After mastering the basics of setup move over to this guide for some more advanced player workflows.
2017-03-21 23:13:06 +02:00
#### [Options](/docs/guides/options.md)
2012-01-06 10:25:09 +03:00
2016-12-02 21:27:59 +02:00
There are a number of options that can be used to change how the player behaves, starting with the HTML5 media options like autoplay and preload, and expanding to Video.js specific options.
2012-01-06 10:25:09 +03:00
2017-03-21 23:13:06 +02:00
#### [Tracks](/docs/guides/tracks.md)
2016-12-02 21:27:59 +02:00
Tracks are used for displaying text information over a video, selecting different audio tracks for a video, or selecting different video tracks.
2012-01-06 10:25:09 +03:00
2013-10-29 04:25:28 +03:00
### Customizing
2012-01-06 10:25:09 +03:00
2017-03-21 23:13:06 +02:00
#### [Skins](/docs/guides/skins.md)
2016-12-02 21:27:59 +02:00
2017-08-14 23:02:48 +02:00
You can change the look of the player across playback technologies just by editing a CSS file. The skins documentation gives you a intro to how the HTML and CSS of the default skin is put together. For a list of skins you can check the [Video.js wiki][skins-list].
2012-01-06 10:25:09 +03:00
2017-03-21 23:13:06 +02:00
#### [Plugins](/docs/guides/plugins.md)
2013-02-09 01:20:59 +03:00
2016-12-20 23:55:59 +02:00
You can package up interesting Video.js customizations and reuse them elsewhere. Find out how to build your own plugin or [use one created by someone else][plugins-list].
2012-03-23 02:50:17 +03:00
2017-03-21 23:13:06 +02:00
#### [Components](/docs/guides/components.md)
2013-10-29 04:25:28 +03:00
2016-12-02 21:27:59 +02:00
Video.js is built around a collection of components. These are the building blocks of the player UI.
2013-10-29 04:25:28 +03:00
2017-03-21 23:13:06 +02:00
#### [Tech](/docs/guides/tech.md)
2013-10-29 04:25:28 +03:00
2020-12-22 21:10:53 +02:00
A "tech" is the shorthand we're using to describe any video playback technology - be it HTML5 video or a YouTube player. Basically anything that has a unique API to audio or video. Additional playback technologies can be added relatively easily.
2015-01-17 01:44:17 +02:00
2017-03-21 23:13:06 +02:00
#### [Languages](/docs/guides/languages.md)
2016-12-20 23:55:59 +02:00
Video.js has multi-language support! Follow this guide to see how you can contribute to and use languages.
2017-03-21 23:13:06 +02:00
#### [Hooks](/docs/guides/hooks.md)
2016-12-20 23:55:59 +02:00
A "hook" is functionality that wants to do when videojs creates a player. Right now only `beforesetup` and `setup` are supported. See the guide for more information on that.
2018-04-17 20:48:04 +02:00
#### [Debugging](/docs/guides/debugging.md)
Follow this guide to see how you can use `videojs.log` for debugging purposes.
2016-12-20 23:55:59 +02:00
## [API Docs][api]
2016-12-02 21:27:59 +02:00
You can refer to the [full list of API docs][api], but the most relevant API doc is for the [Player][api-player].
2018-08-10 21:13:32 +02:00
[plugins-list]: https://videojs.com/plugins
2016-12-20 23:55:59 +02:00
[skins-list]: https://github.com/videojs/video.js/wiki/Skins
2016-12-02 21:27:59 +02:00
2018-08-10 21:13:32 +02:00
[api]: https://docs.videojs.com/
2016-12-20 23:55:59 +02:00
2018-08-10 21:13:32 +02:00
[api-player]: https://docs.videojs.com/Player.html
2016-12-20 23:55:59 +02:00
2018-08-10 21:13:32 +02:00
[vjs-website]: https://videojs.com