Skip to content

Commit

Permalink
fix: prevent CSS color being overridden internally
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Dec 7, 2023
1 parent 03de704 commit 7b56220
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mux-player/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ function getProps(el: MuxPlayerElement, state?: any): MuxTemplateProps {
defaultStreamType: el.defaultStreamType,
targetLiveWindow: el.getAttribute(MuxVideoAttributes.TARGET_LIVE_WINDOW),
streamType: getStreamTypeFromAttr(el.getAttribute(MuxVideoAttributes.STREAM_TYPE)),
primaryColor: el.primaryColor,
secondaryColor: el.secondaryColor,
accentColor: el.accentColor,
primaryColor: el.getAttribute(PlayerAttributes.PRIMARY_COLOR),
secondaryColor: el.getAttribute(PlayerAttributes.SECONDARY_COLOR),
accentColor: el.getAttribute(PlayerAttributes.ACCENT_COLOR),
forwardSeekOffset: el.forwardSeekOffset,
backwardSeekOffset: el.backwardSeekOffset,
defaultHiddenCaptions: el.defaultHiddenCaptions,
Expand Down

0 comments on commit 7b56220

Please sign in to comment.