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 unhandled exception #151

Merged
merged 1 commit into from
Oct 6, 2021
Merged

fix unhandled exception #151

merged 1 commit into from
Oct 6, 2021

Conversation

apackouz
Copy link
Contributor

@apackouz apackouz commented Oct 6, 2021

cc captions may not have any values, for example if language is unknown value may be omitted.
TypeError: Cannot read property 'split' of undefined

cc captions may not have any values, for example if language is unknown value may be omitted.
TypeError: Cannot read property 'split' of undefined
<Accessibility schemeIdUri="urn:scte:dash:cc:cea-608:2015"></Accessibility>
@gkatsev
Copy link
Member

gkatsev commented Oct 6, 2021

I could've sworn I tested it, but looking at the tests I added in the initial PR, I don't have any where the value is missing. #131

@codecov
Copy link

codecov bot commented Oct 6, 2021

Codecov Report

Merging #151 (1c72fa7) into main (313d6a7) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #151   +/-   ##
=======================================
  Coverage   92.84%   92.84%           
=======================================
  Files          17       17           
  Lines         657      657           
  Branches      212      214    +2     
=======================================
  Hits          610      610           
  Misses         47       47           
Impacted Files Coverage Δ
src/inheritAttributes.js 97.36% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 313d6a7...1c72fa7. Read the comment docs.

@gkatsev
Copy link
Member

gkatsev commented Oct 6, 2021

Also, I would recommend updating your manifests to include a value. The spec (ANSI_SCTE 214-1 2016) highly recommends including a value, even if it allows not having one.

@gkatsev gkatsev merged commit c9803f1 into videojs:main Oct 6, 2021
@apackouz apackouz deleted the patch-1 branch October 7, 2021 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants