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

fix(FEC-14080): Accessibility fix for the top bar and the bottom bar #150

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

SivanA-Kaltura
Copy link
Contributor

@SivanA-Kaltura SivanA-Kaltura commented Aug 25, 2024

Description of the Changes

Append a playkit-video-filter div next to the player the same way that playkit does, since the playkit-video-filter from playkit is displayed incorrectly when dualscreen is active

Also upgraded cypress to resolve Firefox timeout

Related PRs:
kaltura/playkit-js#790
kaltura/playkit-js-ui#925

Resolves FEC-14080

display: none;
}

&:after {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can the before and after be shorten? since they are the same

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

@@ -22,7 +22,12 @@ export class PipParent extends Component<PIPParentComponentProps> {

componentDidMount() {
const {player} = this.props;

const videoFilter = document.createElement('div');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a critical one, but since player applying the same styles we can move creation and appending element into ui.utils

@@ -5,4 +5,13 @@
:global(.playkit-slideIn) {
z-index: 1;
}
:global(.playkit-container .playkit-video-filter) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably we can use utility from ui to manage video-filter node (add/remove)

@SivanA-Kaltura SivanA-Kaltura merged commit ea4e2d6 into master Sep 3, 2024
4 checks passed
@SivanA-Kaltura SivanA-Kaltura deleted the FEC-14080 branch September 3, 2024 08:17
@SivanA-Kaltura SivanA-Kaltura restored the FEC-14080 branch September 3, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants