Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Eheka Pytyvõha

Emboyke pytyvõha apovai. Ndorojeruremo’ãi ehenói térã eñe’ẽmondóvo pumbyrýpe ha emoherakuãvo marandu nemba’etéva. Emombe’u tembiapo imarãkuaáva ko “Marandu iñañáva” rupive.

Kuaave

I am trying to create 'var mediaSource = new MediaSource();' but I get 'ReferenceError: MediaSource is not defined' It worked a few days ago, what happened?

more options

I am trying to create a MediaSource object by 'var mediaSource = new MediaSource();' but I get 'ReferenceError: MediaSource is not defined'. This method worked for the site I was developing a few days ago but keeps throwing this error. How would I go about correcting this?

I am trying to create a MediaSource object by 'var mediaSource = new MediaSource();' but I get 'ReferenceError: MediaSource is not defined'. This method worked for the site I was developing a few days ago but keeps throwing this error. How would I go about correcting this?

Ñemoĩporã poravopyre

What is the value of media.mediasource.enabled ?

You can also try:

var mediaSource = new MediaSource;

See:

[1] Available after switching the about:config preference media.mediasource.enabled to true.
Emoñe’ẽ ko mbohavái ejeregua reheve 👍 0

Opaite Mbohovái (3)

more options

Ñemoĩporã poravopyre

What is the value of media.mediasource.enabled ?

You can also try:

var mediaSource = new MediaSource;

See:

[1] Available after switching the about:config preference media.mediasource.enabled to true.

Moambuepyre cor-el rupive

more options

cor-el said

What is the value of media.mediasource.enabled ? You can also try: var mediaSource = new MediaSource; See:
[1] Available after switching the about:config preference media.mediasource.enabled to true.

Thank you for your reply, I just figured out it was the media.mediasource.whitelist value being set to true. It is now set to false and everything is working as it should. I am not sure why my settings would have changed, maybe the recent update?

Thank you again.

more options

Currently, the whitelist is restricted to certain youtube and netflix domains. I'm not sure how others sites can effectively use MediaSource extensions in this situation.