guessVideoFormat | R Documentation |
If no type is provided when generating a video.js video, then the format needs to be guessed. Included in the package is a dataset of the default type of each video. This will give the default type of each file provided.
guessVideoFormat(files)
files |
A vector of URL paths (relative or absolute) to videos |
A vector the same length as files
of the video types.
guessVideoFormat("video.mp4")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.