- 27 Sep 2024
- 1 Minute to read
- Print
Configure player selection
- Updated on 27 Sep 2024
- 1 Minute to read
- Print
The HTML Wizard and HTML Composer provide player-specific previews. This means that users who edit spots in the HTML Wizard or Composer can select a player from a dropdown menu and preview the spot they’re currently working on.
By default, the player selection dropdown menu is disabled. You can enable it in the following ways:
HTML Composer: You can generally activate the player selection for the Composer. This means that it will always appear when a spot is edited in Composer.
HTML Wizard: You can’t activate player selection generally for the HTML Wizard, but in your HTML Wizard spots. This means that the spot decides whether the player selection is available when editing it in the Wizard or not.
Configure the HTML Composer
To configure player selection in the HTML Composer, perform the following steps:
Navigate to the configuration files on the server at: GVServer2\www\gv2\gf\GFWebHtmlCustomer\
Open one of the following folders:
00000: edit configurations for the entire server, which means for all customers.
000xxx: edit customer-specific settings. xxx is the customer ID.
Open the config.json file in your folder with a text editor like Notepad++.
Go to cms > showPlayerSelectionAlways and set it to true.
Save your changes and close the file.
{
"cms":{
"showPlayerSelectionAlways": true
}
Configure HTML Wizard spots
To configure player selection in your HTML Wizard spots, perform the following steps:
Open the spot’s ascData.json file.
Go to Document > Options > EnablePlayerSelection and set it to true.
Save your changes and close the file.
{
"Document": {
"SpotIdentifier": "Sample",
"SpotVersion": "1.0.0",
"ApiVersion": 1,
"Width": 1920,
"Height": 1080,
"Options": {
"PossibleResolutions": [],
"EnablePlayerSelection": true
},
"Elements": []
}
}