CSS style <audio> -
is there way how style timeline thumb (seeker) of <audio>
tag? i'm able target , style of element using audio::-webkit-
shadow dom pseudo selectors.
however, unlucky finding selector match playback timeline thumb. it's done <input type="range">
, shadow dom element. i'm trying target shadow dom pseudo element inside shadow dom pseudo element.
my playground on https://jsfiddle.net/clwwwyh5/.
i need work in chrome (chrome app)
going through list of available modifiers:
audio::-webkit-media-controls-panel audio::-webkit-media-controls-mute-button audio::-webkit-media-controls-play-button audio::-webkit-media-controls-timeline-container audio::-webkit-media-controls-current-time-display audio::-webkit-media-controls-time-remaining-display audio::-webkit-media-controls-timeline audio::-webkit-media-controls-volume-slider-container audio::-webkit-media-controls-volume-slider audio::-webkit-media-controls-seek-back-button audio::-webkit-media-controls-seek-forward-button audio::-webkit-media-controls-fullscreen-button audio::-webkit-media-controls-rewind-button audio::-webkit-media-controls-return-to-realtime-button audio::-webkit-media-controls-toggle-closed-captions-button
unless i'm missing it, styling timeline thumb through css doesn't seem possible @ moment.
but you're close getting right, argg! therefore pains me advise using mediaelement.js, or creating own custom player in this jsfiddle. does, however, come added bonus of working cross-browser, that's something.
Comments
Post a Comment