PM 28.2.2 can't play videos on Udemy

The place to report Pale Moon specific bugs on Linux and other operating systems.

Moderator: satrow

truongtfg
Moongazer
Moongazer
Posts: 8
Joined: 2017-08-27, 06:02

PM 28.2.2 can't play videos on Udemy

Unread post by truongtfg » 2019-01-05, 01:50

Hello,

Recently when I tried to play videos from the courses purchased on Udemy, the videos could only play for 1 sec and then the screen went blank with the following error in the console:

Code: Select all

TypeError: 'block' member of ScrollIntoViewOptions 'center' is not a valid value for enumeration ScrollLogicalPosition.
Stack trace:
value@https://www.udemy.com/staticx/udemy/js/webpack/course-taking-v4-app.6cb3207d02b984a68d57.js:45:523898
G/s<@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:68527
Fi@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:90141
Li@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:85691
Pi@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:85043
Ni@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:91118
fe@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:75762
pe@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:101038
ae@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:96488
M@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:85884
n@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:85315
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
y/a.dispatcher@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:325383
e@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:322169
./node_modules/video.js/es5/component.js/p</u.prototype.trigger@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:111285
@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:230234
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
y/a.dispatcher@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:325383
e@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:165:15519
  
entry-vendor.9872dd3fd04654d9af0c.js:165:10826
	wrapMethod/e[o] https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:165:10826
	gs https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:67885
	Os/n.callback https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:72615
	fr https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:45774
	cr https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:45526
	Fi https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:90407
	Li https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:85691
	Pi https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:85043
	Ni https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:91118
	fe https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:75762
	pe https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:101038
	ae https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:96488
	M https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:85884
	n https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:85315
	r https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
	y/a.dispatcher https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:325383
	e https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:322169
	./node_modules/video.js/es5/component.js/p</u.prototype.trigger https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:111285
	<anonymous> https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:230234
	r https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
	r https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
	y/a.dispatcher https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:325383
	e https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:165:15519
VIDEOJS: ERROR: TypeError: 'block' member of ScrollIntoViewOptions 'center' is not a valid value for enumeration ScrollLogicalPosition.
Stack trace:
value@https://www.udemy.com/staticx/udemy/js/webpack/course-taking-v4-app.6cb3207d02b984a68d57.js:45:523898
G/s<@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:68527
Fi@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:90141
Li@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:85691
Pi@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:85043
Ni@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:173:91118
fe@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:75762
pe@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:101038
ae@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:96488
M@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:85884
n@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:145:85315
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
y/a.dispatcher@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:325383
e@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:322169
./node_modules/video.js/es5/component.js/p</u.prototype.trigger@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:111285
@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:230234
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
y/a.dispatcher@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:325383
e@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:165:15519
  
entry-vendor.9872dd3fd04654d9af0c.js:165:10826
VIDEOJS: ERROR: TypeError: this.el_ is null
Stack trace:
./node_modules/video.js/es5/tech/html5.js/</c.prototype[e]@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:262836
get@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:303798
f/d<@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:303152
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
y/a.dispatcher@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:325383
e@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:165:15519
  
entry-vendor.9872dd3fd04654d9af0c.js:165:10826
VIDEOJS: ERROR: TypeError: this.el_ is null
Stack trace:
./node_modules/video.js/es5/tech/html5.js/</c.prototype[e]@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:262836
get@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:303798
f/d<@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:303152
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
r@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:326182
y/a.dispatcher@https://www.udemy.com/staticx/udemy/js/webpack/videojs-open-source-package.96c880a480c696aad5e5.js:1:325383
e@https://www.udemy.com/staticx/udemy/js/webpack/entry-vendor.9872dd3fd04654d9af0c.js:165:15519
  
entry-vendor.9872dd3fd04654d9af0c.js:165:10826
XML Parsing Error: no root element found
Location: https://www.udemy.com/api-2.0/users/me/subscribed-courses/1430746/lectures/8639766/progress-logs
Line Number 1, Column 1:
I have tried Palemoon 28.2.2 on Mx Linux and Linux Mint XFCE 64 bit and the same problem persisted.

When I use Firefox the videos play perfectly.

Thank you

User avatar
therube
Keeps coming back
Keeps coming back
Posts: 967
Joined: 2018-06-08, 17:02

Re: PM 28.2.2 can't play videos on Udemy

Unread post by therube » 2019-01-06, 15:31

Is there some publicly available URL to one of these videos?

coffeebreak
Board Warrior
Board Warrior
Posts: 1676
Joined: 2015-09-26, 04:51
Location: U.S.

Re: PM 28.2.2 can't play videos on Udemy

Unread post by coffeebreak » 2019-01-06, 20:40

therube wrote:publicly available URL to one of these videos?
Udemy's front page displays some courses. The pages of the courses list publically accessible "preview" videos along with the others, a ways down the page under the heading Course content (an example).

Most(?) of the preview videos apparently don't provide url links, though here is one that does.

I'm not on Linux and don't know if the preview videos are comparable, but I can say I had no problem playing them using PM 28.2.2 (Win 7 x86).

truongtfg
Moongazer
Moongazer
Posts: 8
Joined: 2017-08-27, 06:02

Re: PM 28.2.2 can't play videos on Udemy

Unread post by truongtfg » 2019-01-07, 14:16

Publicly preview videos can be played just fine, the problem lies with the other videos. Here is a little screencast showing how it looks like when I continues the course.
Image

coffeebreak
Board Warrior
Board Warrior
Posts: 1676
Joined: 2015-09-26, 04:51
Location: U.S.

Re: PM 28.2.2 can't play videos on Udemy

Unread post by coffeebreak » 2019-01-07, 19:08

truongtfg wrote:Publicly preview videos can be played just fine, the problem lies with the other videos. Here is a little screencast showing how it looks like when I continues the course.

Thank you for the screenshot, but as requested above, troubleshooting requires access to a problem video, to try to play it.

yami_
Lunatic
Lunatic
Posts: 474
Joined: 2018-04-26, 11:05

Re: PM 28.2.2 can't play videos on Udemy

Unread post by yami_ » 2019-01-07, 19:13

But this is a video, not a screenshot.
cat came back from Berkeley waving flags -- rob pike

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23700
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: PM 28.2.2 can't play videos on Udemy

Unread post by Moonchild » 2019-01-07, 21:27

yami_ wrote:But this is a video, not a screenshot.
It's a (rather low framerate) screencast - it doesn't help because the screencast "plays" fine -- being able to see the actual problem in action (not just visually, but in underlying code too) with a problematic video will allow further investigation. The console errors are likely related (the bottom ones anyway) and it's just as likely this is a framework issue since that's what they seem to be using -- and it's throwing errors on the es5 shim which makes no sense since we have full es5 and es6 support, anyway (unless you're using PM 27.* or older)
City of Heroes public server: https://www.moonshard.org/ -- Vote for it: Image

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
"I'm afraid you have me mistaken for someone who can be shamed by a child." -- Quillspawn

coffeebreak
Board Warrior
Board Warrior
Posts: 1676
Joined: 2015-09-26, 04:51
Location: U.S.

Re: PM 28.2.2 can't play videos on Udemy

Unread post by coffeebreak » 2019-01-07, 22:07

yami_ wrote:But this is a video, not a screenshot.
Off-topic:
I see now. It was needed to allow something additional in the adblocker to see it as a screencast. Thanks for pointing it out.

truongtfg
Moongazer
Moongazer
Posts: 8
Joined: 2017-08-27, 06:02

Re: PM 28.2.2 can't play videos on Udemy

Unread post by truongtfg » 2019-01-08, 02:27

I have created an Udemy account with a registered course in it for you guys to test:
Moderator note: credentials removed.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23700
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: PM 28.2.2 can't play videos on Udemy

Unread post by Moonchild » 2019-01-08, 08:37

Please don't post login credentials in public posts (unless you operate the server yourself and are aware of the potential abuse you open yourself up to).

The problem seems to be that the React framework is tripping over an arbitrary draft spec change.
The spec change can be addressed by porting something Mozilla added to Firefox 58. Hopefully that will solve the video issue. See bug #1389274.
City of Heroes public server: https://www.moonshard.org/ -- Vote for it: Image

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
"I'm afraid you have me mistaken for someone who can be shamed by a child." -- Quillspawn

truongtfg
Moongazer
Moongazer
Posts: 8
Joined: 2017-08-27, 06:02

Re: PM 28.2.2 can't play videos on Udemy

Unread post by truongtfg » 2019-01-08, 09:22

@Moonchild: thank you for your remark :thumbup: , I was too naive. The account I posted was newly created and it uses a disposable email, and I thought that it would be okay. Anyway, next time I will send private message instead. Hope that the issued is solved in the next version of Palemoon, so that I can ditch Firefox :D

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23700
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: PM 28.2.2 can't play videos on Udemy

Unread post by Moonchild » 2019-01-08, 09:29

I'll give this some priority, but it may not make it into 28.3 without help. If someone wants to tackle the code porting of Issue #927 (UXP) (looks relatively straightforward at first glance) in the next day or at most 2, then I can uplift it. Otherwise it'll have to wait until 28.4.

UPDATE: I'm looking into this today to see if I can make a quick fix for it.
City of Heroes public server: https://www.moonshard.org/ -- Vote for it: Image

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
"I'm afraid you have me mistaken for someone who can be shamed by a child." -- Quillspawn

truongtfg
Moongazer
Moongazer
Posts: 8
Joined: 2017-08-27, 06:02

Re: PM 28.2.2 can't play videos on Udemy

Unread post by truongtfg » 2019-01-11, 02:34

This is great Moonchild, thank you and all the devs for putting so much effort in developing Palemoon. Now I will send you guys some cups of coffee :D

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23700
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: PM 28.2.2 can't play videos on Udemy

Unread post by Moonchild » 2019-01-11, 10:37

Pale Moon 28.3.0 should be able to play these videos once it's released.
City of Heroes public server: https://www.moonshard.org/ -- Vote for it: Image

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
"I'm afraid you have me mistaken for someone who can be shamed by a child." -- Quillspawn

Post Reply