- 21 Jun 2022
- 1 minute to read
VideoJS player settings
- Updated on 21 Jun 2022
- 1 minute to read
You can configure the VideoJS player settings by going to Quick-access menu > Plugins > Media players > VideoJS player.
The following settings will be available.
Setting | Description | Notes |
---|---|---|
Video file extensions | The list of video formats supported by default is: .mov, .mp4, .m4v, .ogv, .webm, .flv, .f4v VideoJS will try to use the browser's native video player when available, and fall back to a Flash player for other formats if Flash is supported by the browser and Flash fallback is enabled below. | - |
Audio file extensions | The list of audio formats supported by default is: aac, .flac, .mp3, .m4a, .oga, .ogg, .wav VideoJS will try to use the browser's native video player when available, and fall back to a Flash player for other formats if Flash is supported by the browser and Flash fallback is enabled below. | - |
Use Flash fallback | This setting determines whether to use Flash player if a video format is not natively supported by the browser. If enabled, VideoJS will be engaged for any file extension set in the video and audio extension lists (as above) without browser check. | Please note that Flash is not available in mobile browsers and discouraged in many desktop ones. |
YouTube videos | Decide whether to use the VideoJS player for YouTube videos. | YouTube playlists are not yet supported by VideoJS. |
CSS class for video | A CSS class that will be added to the <video> element. For example, the CSS class "vjs-big-play-centered" will place the play button in the middle. For details, including how to set a custom skin, see docs.videojs.com. | - |
CSS class for audio | Determine the CSS class that will be added to the <audio> element. | - |
Limit size | If enabled, and width and height are not specified, the video will display with default width and height. Otherwise it will stretch to the maximum possible width. | - |
© Copyright 2024 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions.