# API Reference
# Media.watch
Bootstrap VideoPlayer instances.
# Parameters
element
string
Element
null
Default:
[data-video]
options
Object
null
# Return Value
Media.watch(element, options);
1
# Media.listen
Bootstrap AudioPlayer instances.
# Parameters
element
string
Element
null
Default:
[data-video]
options
Object
null
# Return Value
Media.listen(element, options);
1
Player →