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

Add align and vertical settings to WebVttGenerator #3413

Merged

Conversation

avelad
Copy link
Collaborator

@avelad avelad commented May 17, 2021

This PR adds align and vertical settings to WebVttGenerator

'Test\n\n' +
'00:00:40.000 --> 00:00:50.000\n' +
'00:00:40.000 --> 00:00:50.000 align:middle\n' +
Copy link
Member

Choose a reason for hiding this comment

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

Could you instead create a separate test case for these?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The default value is center (https://github.com/google/shaka-player/blob/master/lib/text/cue.js#L83), do you consider that it's necesaary separate the test?

Copy link
Member

Choose a reason for hiding this comment

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

Sorry. I wasn't referring to align:middle specifically, but all of the settings you've added support for in this PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done!

@avelad avelad requested a review from joeyparrish May 17, 2021 19:29
@shaka-bot
Copy link
Collaborator

All tests passed!

@joeyparrish joeyparrish merged commit 9ffc111 into shaka-project:master May 17, 2021
@avelad avelad deleted the align-vertical-webvtt-generator branch May 18, 2021 05:40
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants