Note: this documentation is for the legacy Viostream Player. For the current version, see the current documentation.
For more control, you can place the Player Embed API on the page and
programmatically control embedding. First, you will need to obtain your Account
Key by navigating to account management. Then place the following script in
<head> of your HTML document:
VC-ACCOUNTKEY with your key. It is important you provide this, as many
features will not work, or behave unpredictably without it.
This will add the
$v.player.embed(publicKey [,target][,options]) function to
|publicKey||The public key of the Media Asset or Channel you wish to embed.|
(optional if called from within
The player will render in
|Player settings object. This can be used to specify the player key, and to override any of the supported player settings.
If the target is omitted, this can be the second argument. For example: