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

Error on using a11y with ME.js #179

Open
ManuelTS opened this issue Jul 28, 2020 · 0 comments
Open

Error on using a11y with ME.js #179

ManuelTS opened this issue Jul 28, 2020 · 0 comments

Comments

@ManuelTS
Copy link

With ME.js v 4.2.16, 4.2.13, and 4.2.12 and the a11y plugin, I get the following error:

mediaelement.js:4821 error building a11y TypeError: sources.find is not a function
    at MediaElementPlayer._evaluateBestMatchingSource (a11y.js:184)
    at MediaElementPlayer._loadSourceFromAttribute (a11y.js:155)
    at MediaElementPlayer.builda11y (a11y.js:66)
    at MediaElementPlayer.buildfeatures (mediaelement.js:4819)
    at MediaElementPlayer._meReady (mediaelement.js:4048)
    at Object.success (mediaelement.js:3709)
    at new MediaElement (mediaelement.js:990)
    at MediaElementPlayer.init (mediaelement.js:3826)
    at new MediaElementPlayer (mediaelement.js:3693)
    at HTMLVideoElement.<anonymous> (mediaelement.js:5523)

so I guess it is on the a11y side. The scripts are in the same folder and are aware of each other, the video and audio tags are found and their respective callbacks are called. Versions:

Manuels-MBP:website manuel$ gulp -v
CLI version: 2.3.0
Local version: 4.0.2
Manuels-MBP:website manuel$ npm -v
6.14.4
Manuels-MBP:website manuel$ node -v
v13.13.0

The tags of the video contain the attributes of a11y, and the last one isdata-audio-description-voiceover="false".

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

No branches or pull requests

1 participant