[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

videojs TypeError: Cannot read property 'then' of undefined
Closed, ResolvedPublicBUG REPORT

Description

at MediaElement.playInlineOrOpenDialog <anonymous>:310:298
at MediaElement.clickHandler <anonymous>:309:828
at HTMLAnchorElement.jQuery.event.dispatch https://www.mediawiki.org/w/load.php?lang=en&modules=jquery%7Cmediawiki.action.view.metadata&skin=vector-2022&version=1ig8m:70:260
at HTMLAnchorElement.elemData.handle https://www.mediawiki.org/w/load.php?lang=en&modules=jquery%7Cmediawiki.action.view.metadata&skin=vector-2022&version=1ig8m:66:877

This happened on an original file which was not supported on the platform (macOS), that did not have transcode derivatives

Event Timeline

TheDJ changed the subtype of this task from "Task" to "Bug Report".Mar 25 2022, 3:09 PM
Jdlrobson subscribed.

37 errors a day. For French this is a top ten JS error so I'd suggest fixing it before rolling out further.

Looks like we should escalate this. Let's assign it at our meeting today.

I'm wondering if this is older browsers not having play return a promise.... will check in logstash what i can find.

It's not limited to Edge. There clearly are also lots of errors from older devices.
https://logstash.wikimedia.org/goto/8b476bbff31cce75a4032be21afc8bf7

The strange thing... is that its supposed to return a promise starting chrome 50... And the edge problems are indeed chrome 50 to chrome 60 versions... Kinda strange, but maybe they had to implement it at a browser specific layer... Seems Edge 17+ is the cutoff

Change 778347 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/TimedMediaHandler@master] Older browser do not return a promise from .play()

https://gerrit.wikimedia.org/r/778347

Change 778347 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@master] Older browser do not return a promise from .play()

https://gerrit.wikimedia.org/r/778347

Wanna keep this ticket open till the next deploys, so we can verify the errors have actually disappeared.

Change 778238 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/TimedMediaHandler@wmf/1.39.0-wmf.6] Older browser do not return a promise from .play()

https://gerrit.wikimedia.org/r/778238

@Ladsgroup we are at 240 errors a day now, so I made a cherry pick, just in case

Thanks. Friday is a no-deploy day but I will deploy it first thing on Monday.

Change 778238 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@wmf/1.39.0-wmf.6] Older browser do not return a promise from .play()

https://gerrit.wikimedia.org/r/778238

Mentioned in SAL (#wikimedia-operations) [2022-04-11T09:58:59Z] <ladsgroup@deploy1002> Synchronized php-1.39.0-wmf.6/extensions/TimedMediaHandler/resources/ext.tmh.player.element.js: Backport: [[gerrit:778238|Older browser do not return a promise from .play() (T304705)]] (duration: 00m 52s)

Ladsgroup assigned this task to TheDJ.