[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Fixing the MDN articles

Thanks for catching this.

The problem was that these samples are stored on a separate server, and it appears that due to a IT issue we are unable to access them for the time being.

As a hotfix, I moved the sample to my people.mozilla.org account and fixed it there.


I updated the MDN page's link to it.


On 12-11-27 08:55 PM, Gregg Tavares (社用) wrote:
Yea, I should probably post this on MDN somewhere but....

Several of the MDN articles on WebGL are out of date

This one in particular 

It runs because firefox's video decoder that decodes just a portion of the video that happens to be power-of-2 (I guess the video contains clipping info that other browsers ignore)

Run the video directly and you'll see what I mean
(see attached screenshots)

I fixed the wiki page so it should work in all browsers and all videos but I have no idea how to fix the source of the live sample which people will view source on and copy.

Could one the Mozilla people here fix that sample? This is the 3rd time I've had to help someone who followed that sample fix their code because the sample is wrong.


PS: On top of that it would be nice if the samples were updated to at least not use the setTimeout/setInterval anti-pattern

Inline image 2

Inline image 1