Skip to content
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

Make seekbar and player controls appear at bottom of video and take full width #6007

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,32 @@
}
}

@media only screen and (width >= 1000px) {
:deep(.shaka-bottom-controls) {
/* remove some bottom padding since the seek bar is above */
padding-bottom: 0;

/* make seekbar take full width on non-mobile devices */
width: 100%;
}

/* increase height of captions area since we remove the padding-bottom below the seekbar */
:deep(.shaka-controls-container[shown='true']~.shaka-text-container) {
bottom: 12.5%;
}

:deep(.shaka-controls-button-panel>button) {
height: 40px;
line-height: 0.5;
}

:deep(.shaka-tooltips-on button:active::after),
:deep(.shaka-tooltips-on button:focus-visible::after),
:deep(.shaka-tooltips-on button:hover::after) {
margin-bottom: 8px;
}
}

@media only screen and (width <=1350px) {
:deep(.theatre-button) {
display: none;
Expand Down
Loading