$this->forms['videos'] = array('label' => __('Vidéos'),
'fieldsnames' => array('webvideoAsLocal', '|', 'mobileVideosPath', '|', 'brightcovePlayerId', 'brightcovePlayerSecret', '|', 'bigPlayImage'));
//.
- $this->fields['audioPlayerTheme'] = ['type' => 'combo', 'default' => 'native', 'editable' => true, 'label' => __('Apparence du lecteur audio'), 'datas' => [__('Apparence native du navigateur') => 'native', __('Zone cliquable invisible') => 'invisible', __('Red Bull') => 'redbull']];
+ $this->fields['audioPlayerTheme'] = ['type' => 'combo', 'default' => 'native', 'editable' => true, 'label' => __('Apparence du lecteur audio'), 'datas' => [__('Apparence native du navigateur') => 'native', __('Zone cliquable invisible') => 'invisible', __('Circulaire') => 'redbull']];
$this->forms['audio'] = ['label' => __('Lecteur audio'),
'fieldsnames' => ['audioPlayerTheme']];
//.
$this->fields['bookmarkStarEnabledColor'] = array('type' => 'couleur', 'default' => 'ff7700', 'editable' => true,\r
'label' => __("Couleur de l'étoile activée"));\r
\r
+ $this->fields['audioplayerBackgroundColor'] = ['type' => 'text', 'default' => '', 'editable' => true, 'label' => __('Couleur de fond du player audio')];\r
+ $this->fields['audioplayerStrokeColor'] = ['type' => 'text', 'default' => '', 'editable' => true, 'label' => __('Couleur de la ligne de progression')];\r
+ $this->fields['audioplayerIconColor'] = ['type' => 'couleur', 'default' => '#ffffff', 'editable' => true, 'label' => __('Couleur des icônes')];\r
+\r
$this->forms['book'] = array('label' => __('Personnalisation de la publication'),\r
'fieldsnames' => array('interfaceFont', 'interfaceFontUppercase', '|', 'shadeAlpha',\r
'|', 'bookShadeColor', '|', 'usePageEdges',\r
'|', 'displayPageNumber', 'colorPageNumber',\r
'|', 'linksColor', 'videoBackgroundColor',\r
'|', 'tooltipBackColor', 'tooltipTextColor', 'tooltipTextSize', 'tooltipPadding',\r
- '|', 'bookmarkBackgroundColor', 'bookmarkStarDisabledColor', 'bookmarkStarEnabledColor'));\r
+ '|', 'bookmarkBackgroundColor', 'bookmarkStarDisabledColor', 'bookmarkStarEnabledColor',\r
+ '|', 'audioplayerBackgroundColor', 'audioplayerStrokeColor', 'audioplayerIconColor'));\r
/* Credits */\r
$this->fields['creditsColor'] = array('type' => 'couleurAlpha', 'default' => '80ffffff', 'editable' => true,\r
'label' => __("Couleur du texte"));\r
$this->lessVariables['edge-right-offset'] = 0;
$this->lessVariables['edges-opacity'] = 1;
+ $this->lessVariables['audioplayer-background-color'] = wsHTML5::colorToCSS($this->theme->parametres->audioplayerBackgroundColor ?: $this->theme->parametres->couleurL);
+ $this->lessVariables['audioplayer-icon-color'] = wsHTML5::colorToCSS($this->theme->parametres->audioplayerIconColor);
+ $this->config->audioplayerStrokeColor = $this->lessVariables['audioplayer-stroke-color'] = wsHTML5::colorToCSS($this->theme->parametres->audioplayerStrokeColor ?: $this->theme->parametres->couleurL);
$this->lessVariables['page-number-color'] = wsHTML5::colorToCSS($this->theme->parametres->colorPageNumber);
$this->lessVariables['display-page-number'] = $this->_lessBoolean($this->theme->parametres->displayPageNumber);