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

element.getAttribute is not a function error in v2 beta3 #473

Closed
mlondon1 opened this issue Aug 2, 2016 · 7 comments
Closed

element.getAttribute is not a function error in v2 beta3 #473

mlondon1 opened this issue Aug 2, 2016 · 7 comments
Assignees
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@mlondon1
Copy link

mlondon1 commented Aug 2, 2016

Hi,
I am seeing the following error in Shaka player v2.0.0-beta3 that I do not see in beta2 when attempting to play my Widevine-Dash VOD content in Google Chrome

streaming_engine.js:1148 (text:3) failed fetch and append: code=undefined(anonymous function) @ streaming_engine.js:1148
player.js:1614 Assertion failed: Wrong error type!shaka.Player.onError_ @ player.js:1614(anonymous function) @ streaming_engine.js:1149
main.js:182 Player error TypeError: element.getAttribute is not a function(…)

@joeyparrish
Copy link
Member

Can you please provide a manifest URL with which I could reproduce this error?

@joeyparrish joeyparrish added the status: unable to reproduce Issue could not be reproduced by the team label Aug 11, 2016
@joeyparrish
Copy link
Member

@mlondon1, we cannot reproduce. Can you provide a manifest URL that reproduces the error?

@mlondon1
Copy link
Author

Hi, This is encrypted premium content, is there anything else that I can provide? Or do you not need to play the content and just want to look at the MPD?

@joeyparrish
Copy link
Member

We need some way to reproduce your issue before we can solve it. Can you provide instructions on how to reproduce the issue?

Usually, a good repro involves a manifest URL and license server URL that can be used in the demo app. If you can't provide those things publicly, you can always send me a private email with the details. My email address can be found in CONTRIBUTORS.

@joeyparrish joeyparrish added type: bug Something isn't working correctly and removed status: unable to reproduce Issue could not be reproduced by the team labels Aug 12, 2016
@joeyparrish joeyparrish added this to the v2.0.0 milestone Aug 12, 2016
@joeyparrish
Copy link
Member

Thanks for the manifest info. I've tracked the bug down to here:

shaka.media.TtmlTextParser.getInheritedAttribute_ = function(
    element, attributeName) {
  var ret = null;
  while (element) {
    ret = element.getAttribute(attributeName);

Now that we have repro, it should be easy to fix. Thanks!

@joeyparrish joeyparrish self-assigned this Aug 12, 2016
@mlondon1
Copy link
Author

You're welcome

@joeyparrish
Copy link
Member

@mlondon1, please try again with the latest from master and let us know if you have any issues.

@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
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 type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

3 participants