Localization

You can localize all text inside your Brid player by setting up a localization object in the configuration parameters in the player's embed code. With this object in place you can expand on basic translation capabilities of a player and add custom translations of specific words.

Setup a localization object with a Brid player example

<script type="text/javascript" src="//services.brid.tv/player/build/brid.min.js"></script> 
<div id="myDiv" class="brid"></div>
<script type="text/javascript">
$bp("myDiv", {"id":"PLAYER_ID","width":"640","height":"360","video":"VIDEO_ID",
 "translate": {
    "ima_locale": "en",
    "loading_ad": "Loading ad...",
    "advertisement": "Advertisement",
    "ad_will_start": "Ad will start soon",
    "skip_ad": "Skip Ad",
    "skip_in": "Skip In",
    "toggle_play": "Toggle Playback",
    "prev_video": "Previous Video",
    "next_video": "Next Video",
    "toggle_hd": "Toggle Video Quality",
    "toggle_fullscreen": "Toggle Fullscreen",
    "toggle_mute": "Toggle Mute Video",
    "toggle_captions": "Toggle Captions",
    "play": "Play Video",
    "share": "Share Video",
    "playlist": "View Playlist",
    "pause": "Pause Video",
    "repeat": "Repeat",
    "open_brand": "Open Brand URL",
    "age_text": "The content in this video requires age verification, please enter your date of birth below:",
    "age_confirm": "CONFIRM",
    "age_not_valid": "You do not meet the minimum age requirement to view this content.",
    "close": "Close",
    "embed_code": "Embed Code",
    "share_link": "Share Link",
    "share_link_copied": "Link Copied",
    "share_on": "Share On"
}
}); </script>

Explanation of parameters

Param Type Description
ima_locale string Google IMA specific setting for localizating ads pushed through Google IMA SDK
loading_ad string Set custom text for loading an ad
advertisement string Advertisement notice inside the player while a VAST ad is displaying
ad_will_start string Info on when a mid roll will appear inside the player
skip_ad string Text for the skip ad button inside the player
skip_in string Skip in ... text when it countdowns to 0 when a user can skip an ad
toggle_play string Mouse over hover on the player button
prev_video string Mouse over hover on the previous video button
next_video string Mouse over hover on the next video button
toggle_hd string Mouse over hover on the HD toggle button
toggle_fullscreen string Mouse over hover on the player's fullscreen button
toggle_mute string Mouse over hover on the player's mute button
toggle_captions string Mouse over hover on the player's closed captions button
play string Set custom text for play video
share string Set custom text for share video
playlist string Set custom text for the playlist button
pause string Set custom text for pause video
repeat string Set custom text for replay/repeat a video
open_brand string Set custom text for mouse over on custom logo set
age_text string Set custom text for age gate verification
age_confirm string Set custom text for confirm button for age gate verification
age_not_valid string Set custom text if user does not make age verification
close string Set custom text for close
embed_code string Set custom text for embed code
share_link string Set custom text for share link
share_link_copied string Set custom text for share link copied
share_on string Set custom text for share on