ov_video_js: Inject javascript for an HTML video player

View source: R/player.R

ov_video_jsR Documentation

Inject javascript for an HTML video player

Description

Inject javascript for an HTML video player

Usage

ov_video_js(youtube = FALSE, twitch = FALSE, version = 1)

Arguments

youtube

logical: set to TRUE to include the Youtube API javascript. This isn't necessary if you are only using local video files

twitch

logical: set to TRUE to include the Twitch API javascript. Only with version = 2. Not necessary if you are only using local video files

version

numeric: code version. Default = 1, experimental = 2

Value

A head tag containing script tags

See Also

ov_video_playlist()


openvolley/ovideo documentation built on March 19, 2024, 9:52 p.m.