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/duplicate vtt cues #3

Merged
merged 69 commits into from
Apr 16, 2021
Merged

Conversation

eowino
Copy link

@eowino eowino commented Apr 15, 2021

Description

  • Prevents duplicate VTTCues from being displayed.

A combination of video-dev#3321 and this fix for v1. The former had to be supplemented with the latter as it wasn't quite working on its own.

## To do

  • Bump version

tjenkinson and others added 30 commits December 6, 2020 15:51
…arn/typescript-eslint/eslint-plugin-4.9.1

[skip ci]: Bump @typescript-eslint/eslint-plugin from 4.9.0 to 4.9.1
Bumps [husky](https://github.com/typicode/husky) from 4.3.0 to 4.3.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v4.3.0...v4.3.5)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/husky-4.3.5

[skip ci]: Bump husky from 4.3.0 to 4.3.5
Always parse ID3 tags if type is present on the ID3 Frame
* patch/v0.14.x:
  Merge pull request video-dev#3284 from video-dev/update-id3-parsing
…arn/webpack-merge-5.4.1

[skip ci]: Bump webpack-merge from 5.4.0 to 5.4.1
…arn/types/mocha-8.2.0

[skip ci]: Bump @types/mocha from 8.0.4 to 8.2.0
Bumps [netlify-cli](https://github.com/netlify/cli) from 2.69.1 to 2.69.3.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/master/CHANGELOG.md)
- [Commits](netlify/cli@v2.69.1...v2.69.3)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/netlify-cli-2.69.3

[skip ci]: Bump netlify-cli from 2.69.1 to 2.69.3
…arn/typescript-eslint/parser-4.9.1

[skip ci]: Bump @typescript-eslint/parser from 4.9.0 to 4.9.1
…arn/babel/register-7.12.10

[skip ci]: Bump @babel/register from 7.12.1 to 7.12.10
Bumps [netlify-cli](https://github.com/netlify/cli) from 2.69.3 to 2.69.4.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/master/CHANGELOG.md)
- [Commits](netlify/cli@v2.69.3...v2.69.4)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/netlify-cli-2.69.4

[skip ci]: Bump netlify-cli from 2.69.3 to 2.69.4
update sauce-connect action to a version with retries
…arn/webpack-merge-5.5.0

[skip ci]: Bump webpack-merge from 5.4.1 to 5.5.0
…arn/babel/preset-env-7.12.10

[skip ci]: Bump @babel/preset-env from 7.12.7 to 7.12.10
hlsjs-ci and others added 27 commits December 14, 2020 10:09
…arn/sinon-9.2.2

[skip ci]: Bump sinon from 9.2.1 to 9.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/typescript-4.1.3

[skip ci]: Bump typescript from 4.1.2 to 4.1.3
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 86.0.0 to 87.0.4.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/commits)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/chromedriver-87.0.4

[skip ci]: Bump chromedriver from 86.0.0 to 87.0.4
…arn/typescript-eslint/eslint-plugin-4.10.0

[skip ci]: Bump @typescript-eslint/eslint-plugin from 4.9.1 to 4.10.0
…arn/typescript-eslint/parser-4.10.0

[skip ci]: Bump @typescript-eslint/parser from 4.9.1 to 4.10.0
Bumps [netlify-cli](https://github.com/netlify/cli) from 2.69.8 to 2.69.9.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/master/CHANGELOG.md)
- [Commits](netlify/cli@v2.69.8...v2.69.9)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/netlify-cli-2.69.9

[skip ci]: Bump netlify-cli from 2.69.8 to 2.69.9
Bumps [netlify-cli](https://github.com/netlify/cli) from 2.69.9 to 2.69.10.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/master/CHANGELOG.md)
- [Commits](netlify/cli@v2.69.9...v2.69.10)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/netlify-cli-2.69.10

[skip ci]: Bump netlify-cli from 2.69.9 to 2.69.10
…arn/webpack-merge-5.7.2

[skip ci]: Bump webpack-merge from 5.7.0 to 5.7.2
…arn/babel/preset-env-7.12.11

[skip ci]: Bump @babel/preset-env from 7.12.10 to 7.12.11
do not run automerge action if secret not available
Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v7.15.0...v7.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/eslint-7.16.0

[skip ci]: Bump eslint from 7.15.0 to 7.16.0
Bumps [netlify-cli](https://github.com/netlify/cli) from 2.69.10 to 2.69.11.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/master/CHANGELOG.md)
- [Commits](netlify/cli@v2.69.10...v2.69.11)

Signed-off-by: dependabot[bot] <support@github.com>
…arn/netlify-cli-2.69.11

[skip ci]: Bump netlify-cli from 2.69.10 to 2.69.11
Reuse the hash function when creating the 608/708 VTTCues to assign them a unique id.
Extract the webvtt-parser callback function that adds text track cues and reuse it for adding the 608/708 cues.

Wasn't sure what is the best way to use the hash function - if to leave it in webvtt-aprser and expose or extract it to a seperate vtt utils function and import in both parser and cues modules.
I ended up exposing it from webvtt-parser and adding the id in timeline-controller, but it makes more sense to keep the logic near where VTTCue is created.
Let me know if you want to change this in anyway- open for comments.

In addition, added text field to VTTCue interface.
@eowino eowino merged commit 438b02f into patch/v0.14.x-doris Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants