CSS not working with player
-
I’ve updated the player now… after spending a lot of time with the last version. I had the CSS working right before you upgraded to this latest version. Now this script no longer works.
/*++++++++++++++++++++++++++++++++++++++++++++++++++ Copyright (c) 2001-2014. Matteo Bicocchi (Pupunzi); https://pupunzi.com/mb.components/mb.miniAudioPlayer/demo/skinMaker.html MAP custom skin: mySkin borderRadius: 10 background: rgba(17, 57, 106, 1) icons: rgba(255, 255, 255, 1) border: rgb(242, 242, 242) borderLeft: rgb(24, 81, 150) borderRight: rgb(10, 33, 62) mute: rgba(255, 255, 255, 0.6) download: rgba(17, 57, 106, 0.4) downloadHover: rgb(17, 57, 106) ++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Older browser (IE8) not supporting rgba() */ .mbMiniPlayer.mySkin .playerTable span{background-color:#11396a} .mbMiniPlayer.mySkin .playerTable span.map_play{border-left:1px solid #11396a;} .mbMiniPlayer.mySkin .playerTable span.map_volume{border-right:1px solid #11396a;} .mbMiniPlayer.mySkin .playerTable span.map_volume.mute{color: #ffffff;} .mbMiniPlayer.mySkin .map_download{color: #ffffff;} .mbMiniPlayer.mySkin .map_download:hover{color: #ffffff;} .mbMiniPlayer.mySkin .playerTable span{color: #ffffff;} .mbMiniPlayer.mySkin .playerTable {border: 1px solid #ffffff !important;} /*++++++++++++++++++++++++++++++++++++++++++++++++*/ .mbMiniPlayer.mySkin .playerTable{background-color:transparent; border-radius:10px !important;} .mbMiniPlayer.mySkin .playerTable span{background-color:rgba(17, 57, 106, 1); padding:3px !important; font-size: 20px;} .mbMiniPlayer.mySkin .playerTable span.map_time{ font-size: 12px !important; width: 50px !important} .mbMiniPlayer.mySkin .playerTable span.map_title{ padding:4px !important} .mbMiniPlayer.mySkin .playerTable span.map_play{border-left:1px solid rgb(10, 33, 62); border-radius:0 9px 9px 0 !important;} .mbMiniPlayer.mySkin .playerTable span.map_volume{padding-left:6px !important} .mbMiniPlayer.mySkin .playerTable span.map_volume{border-right:1px solid rgb(24, 81, 150); border-radius:9px 0 0 9px !important;} .mbMiniPlayer.mySkin .playerTable span.map_volume.mute{color: rgba(255, 255, 255, 0.6);} .mbMiniPlayer.mySkin .map_download{color: rgba(17, 57, 106, 0.4);} .mbMiniPlayer.mySkin .map_download:hover{color: rgb(17, 57, 106);} .mbMiniPlayer.mySkin .playerTable span{color: rgba(255, 255, 255, 1);text-shadow: none!important;} .mbMiniPlayer.mySkin .playerTable span{color: rgba(255, 255, 255, 1);} .mbMiniPlayer.mySkin .playerTable {border: 1px solid rgb(242, 242, 242) !important;} .mbMiniPlayer.mySkin .playerTable span.map_title{color: #000; text-shadow:none!important} .mbMiniPlayer.mySkin .playerTable .jp-load-bar{background-color:rgba(17, 57, 106, 0.3);} .mbMiniPlayer.mySkin .playerTable .jp-play-bar{background-color:#11396a;} .mbMiniPlayer.mySkin .playerTable span.map_volumeLevel a{background-color:rgb(255, 255, 255); height:80%!important } .mbMiniPlayer.mySkin .playerTable span.map_volumeLevel a.sel{background-color:#ffffff;} .mbMiniPlayer.mySkin span.map_download{font-size:50px !important;} /*++++++++++++++++++++++++++++++++++++++++++++++++*/
I had to re-run my settings thru your skinmaker: https://pupunzi.com/mb.components/mb.miniAudioPlayer/demo/skinMaker.html…
Now, the place to set your “Main” color stays BLACK. I’ve given it the color I want, but the player won’t change. I had to manually change the color once I saved the script.
/* DO NOT REMOVE OR MODIFY */ /*{"skinName": "mySkin", "borderRadius": 5, "main": "#000", "secondary": "#fff", "playerPadding": 0}*/ /* END - DO NOT REMOVE OR MODIFY */ /*++++++++++++++++++++++++++++++++++++++++++++++++++ Copyright (c) 2001-2014. Matteo Bicocchi (Pupunzi); https://pupunzi.com/mb.components/mb.miniAudioPlayer/demo/skinMaker.html Skin name: mySkin borderRadius: 5 background: #000 icons: #fff border: rgb(242, 242, 242) borderLeft: rgb(26, 26, 26) borderRight: rgb(0, 0, 0) mute: rgba(255, 255, 255, 0.4) download: rgba(17, 57, 106, 0.4) downloadHover: rgb(17, 57, 106) ++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Older browser (IE8) - not supporting rgba() */ .mbMiniPlayer.mySkin .playerTable span{background-color:#11396a} .mbMiniPlayer.mySkin .playerTable span.map_play{border-left:1px solid #11396a;} .mbMiniPlayer.mySkin .playerTable span.map_volume{border-right:1px solid #11396a;} /*++++++++++++++++++++++++++++++++++++++++++++++++*/ .mbMiniPlayer.mySkin .playerTable{background-color:transparent; border-radius:5px !important;} .mbMiniPlayer.mySkin .playerTable span{background-color:#000; padding:3px !important; font-size: 20px;} .mbMiniPlayer.mySkin .playerTable span.map_time{ font-size: 12px !important; width: 50px !important} .mbMiniPlayer.mySkin .playerTable span.map_title{ padding:4px !important} .mbMiniPlayer.mySkin .playerTable span.map_play{border-left:1px solid rgb(0, 0, 0); border-radius:0 4px 4px 0 !important;} .mbMiniPlayer.mySkin .playerTable span.map_volume{padding-left:6px !important} .mbMiniPlayer.mySkin .playerTable span.map_volume{border-right:1px solid rgb(26, 26, 26); border-radius:4px 0 0 4px !important;} .mbMiniPlayer.mySkin .playerTable span.map_volume.mute{color: rgba(255, 255, 255, 0.4);} .mbMiniPlayer.mySkin .map_download{color: rgba(17, 57, 106, 0.4);} .mbMiniPlayer.mySkin .map_download:hover{color: rgb(17, 57, 106);} .mbMiniPlayer.mySkin .playerTable span{color: #fff;text-shadow: none!important;} .mbMiniPlayer.mySkin .playerTable span{color: #fff;} .mbMiniPlayer.mySkin .playerTable {border: 1px solid rgb(242, 242, 242) !important;} .mbMiniPlayer.mySkin .playerTable span.map_title{color: #000; text-shadow:none!important} .mbMiniPlayer.mySkin .playerTable .jp-load-bar{background-color:rgba(17, 57, 106, 0.3);} .mbMiniPlayer.mySkin .playerTable .jp-play-bar{background-color:#11396a;} .mbMiniPlayer.mySkin .playerTable span.map_volumeLevel a{background-color:rgb(255, 255, 255); height:80%!important } .mbMiniPlayer.mySkin .playerTable span.map_volumeLevel a.sel{background-color:#fff;} .mbMiniPlayer.mySkin span.map_download{font-size:50px !important;} /*++++++++++++++++++++++++++++++++++++++++++++++++*/
I want the “Main” background of the player to be #11396a. I CAN manually fix it, but thought you should know.
Second, in the global settings, you can not add a skin name in the blank area above the textarea for the skin. Therefore, you can not use the customizable area. You CAN, however, upload a CSS file that is precisely written with your skinmaker page. I did try to use MY skin, developed using your skinmaker before your update, but it was not accepted as a correct skin.
Third, my default global settings are set to allow for download but the download button is not showing. So, I used the settings in the post and made sure to set all the settings I want… AUTOPLAY, VOLUME, DOWNLOAD…etc But they don’t work. My theory is it doesn’t work because you can’t callout the skin name (see previous paragraph). So, yes… I have to colors set correctly because of my uploaded CSS, but not I can’t get all the other features…
My client is now very confused and frustrated. Please tell me how I can get all of those settings back.
Thank you
- The topic ‘CSS not working with player’ is closed to new replies.