Conversation
| this.handleSuccess(); | ||
| }) | ||
| .catch((e: Error) => { | ||
| console.log(e); |
There was a problem hiding this comment.
Im considering to leave this here. Any errors are swallowed and is very hard to debug.
I can also remove if most people think its not necessary
There was a problem hiding this comment.
I think leaving it makes sense, especially if we're sure this error only shows up when the video actually doesn't load properly
🦋 Changeset detectedLatest commit: 2fb8321 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
LuLaValva
left a comment
There was a problem hiding this comment.
Looks good! Just one nit, and then I'll approve after you move the .css file to skin
saiponnada
left a comment
There was a problem hiding this comment.
Few things I noticed,
As part of a simple keyboard test
- Current time is being focused which is unnecessary and after looking further looks like it is a button. What does this button do?
- I understand you had issues with positioning this seek bar. But the problem here is focus order is not aligning with visual order i.e, focus jumps from play button to timestamp and after full screen button it returns back to the track where a user has the ability to fast track or rewind
When I did a quick screen reader test, few things I noticed
- When I am on seek slider, it announces some gibberish number. What would be ideal is on what time stamp we are on and what is overall duration of the video.
- IMO it is always nice to CC button visible but disabled if no captions available
I disabled the button so its no longer in focus state
That is unfortunately the recommended way to do it in shaka player. I don't like the change but there's no other way to do this.
So again, this is what shaka player is providing. It could be due to the video we are testing.
Again, shaka player implementation. I think the conclusion is to feel free to file a bug on their repo. They seem pretty responsive on that. We had an issue that they fixed pretty quickly after we filed it. |
|
This should be ready for re-review, removed the CSS and pushed it to skin |
saiponnada
left a comment
There was a problem hiding this comment.
Looks like we have few limitations with third party library in making this accessible. We need to eventually figure out a solution that can solve these issues in long term. For now I am okay with moving forward.
I included the CSS here currently only for review. BEFORE I merge, I will push this to skin and remove the CSS file. It is easier to review it here and change it and then update skin rather than creating two PRs and keeping them in sync. There's a lot of styles which are specific to the configuration.
Description
References
#2419