-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new advertising UI layout #660
Add new advertising UI layout #660
Conversation
} | ||
|
||
.#{$prefix}-ui-button-ad-skip { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The styling for the ad-skip-button was extracted into a separate file.
// Reset the currentTimeSeekBar and set the position to 0 if the player has no duration | ||
if (this.player.getDuration() === 0) { | ||
this.setPlaybackPosition(0); | ||
currentTimeSeekBar = 0; | ||
return; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was no problem before as there was no seekbar visible during ad playback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
.#{$prefix}-label { | ||
display: inline-block; | ||
color: $color-ads; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH i find the yellow text hard to read, are we sure we want to stick with that yellow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted. I'll take that feedback back to the design process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't your eyes hurt when looking at the above screenshot and trying to figure out how may seconds there are left until skip?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damn, it's really in dev too
Description
This PR adds the new UI layout for Ad playback according to the current design. The UI looks the same for small screen and default.
Checklist (for PR submitter and reviewers)
CHANGELOG
entry A general entry will be added at the end