Follow

Parameters

Samba Live Player

Samba Live Player IFrame allows customization via parameters. See all the available parameters below:

Iframe

<iframe src="http://fast.player.liquidplatform.com/pApiv2/embed/ph?stramName&thumbnailURL=null&parametros" width="640" height="360" frameborder="0"></iframe>

Iframe - Parameters

Parameter: height
Funcionality:
 This parameter indicates the iframe height.
Usage example: 
height="640"
Type:
mandatory

Parameter: width
Funcionality:
 This parameter indicates the iframe width.
Usage example: 
width="360"
Type: 
mandatory

Parameter: allowfullscreen webkitallowfullscreen mozallowfullscreen
Funcionality:
 These parameters enable HTML5 full screen
Usage example: 
allowfullscreen webkitallowfullscreen mozallowfullscreen
Type: 
mandatory for HTML5

Parameter: 
Funcionality: Windows Phone
Usage example: 
Type: mandatory for Windows Phone

 

Samba Live Player - Parâmetros

Parameter: ph
Funcionality:
This parameter indicates the unique ID of a project's Player in the platform.
Usage example: 
ph=3d4bd9c7349de1db01399de85cef0003
Type: 
mandatory

Parameter: streamName
Funcionality:
This parameter links the client's live stream setting name.
Usage example:
streamName=StreamDoCliente1
Type:
mandatory

Parameter: gaAccount
Funcionality: 
 This parameter receives the value of a Google Analytics Web Property ID and enables the events tracker on the player
Usage example: 
gaAccount=UA-XXXXXXXX-Y
Type: 
mandatory

Parameter: siteURL
Funcionality: 
This parameter improves data collection to Google Analytics. In this parameter it's informed the website address that will be the referee. The website address cannot contain any queryParam(?)
Usage example: 
siteURL=www.sambatech.com.br
Type: 
mandatory

Parameter: title
Funcionality: 
Title of the live. This parameter must be informed, because it's not possible to retrieve reports at Google Analytics without it.
Usage example: 
title=TesteTítulo
Type: mandatory for Google Analytics reports.

Parameter: hasTwitter 
Funcionality: 
This parameter enables "Share on Twitter" button. The default is "true”.
Usage example:
 hasTwitter=false
Type: 
mandatory

Parameter: 
hasFacebook 
Funcionality: 
This parameter enables "Share on Facebook" button. The default is "true”.
Usage example: 
hasFacebook=false
Type: 
optional

Parameter: 
hasLink 
Funcionality: 
This parameter enables "Share via link" button. The default is "true”.
Usage example: 
hasLink=false
Type: 
optional

Parameter: 
hasEmbed 
Funcionality:
 This parameter enables "Share via Embed" button. The default is "true”.
Usage example: 
hasEmbed=false
Type: 
optional

Parameter: 
volume 
Funcionality: 
This parameter allows associating a predefined value to the player volume before the video starts. NOTE: Values are 0-100.
Usage example: 
volume=60
Type: 
optional

Parameter: 
enableShare 
Funcionality: 
This parameter enables sharing buttons. The default is "true”.
Usage example:
 enableShare=false
Type: 
optional

Parameter: ad_program
Funcionality: 
This parameter allows you to play any Vast external advertising from a Vast tag. It only allows Pre-roll publicities.
Type: optional
Usage example:
ad_program=[http://ad3.liverail.com/?LR_PUBLISHER_ID=1331&LR_CAMPAIGN_ID=229&LR_SCHEMA=vast2#pre-roll]
Parameter: autoStart
Funcionalidade: This parameter allows you to play media from the moment the player is loaded on the page, without user interaction. The default is “false”.
Usage example: 
autoStart=true
Type: 
optional
 
Parameter: thumbnailURL
Funcionality: 
This parameter allows to pass a thumbnail to the video from a url.
Usage example:
 thumbnailURL=http://goo.gl/MwPKFV
Type: 
optional
 
Parameter: enableLead
Funcionality: This parameter enables/disables Leads collector of a certain media. The default is “true”.
Usage example: 
enableLead=true
Type: 
optional
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request