close

[Solved] [Intervention] Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence

Hello Guys, How are you all? Hope You all Are Fine. I am working with audio. I am using new Audio(audioUrl) to play audio with the latest version of Chrome but My code causes the following error Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence in HTML. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence Error Occurs ?

I am working with audio. I am using new Audio(audioUrl) to play audio with the latest version of Chrome but My code causes the following error.

[Intervention] Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence. See crbug.com/1144736#c27

How To Solve Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence Error ?

  1. How To Solve Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence Error?

    To Solve Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence Error Here Chrome has a limited number of audio and video tags that can be allocated in a particular tab. You can play 75 for desktop browsers and 40 for mobile browsers. So temporary solution is to limit the number of audio and video tags created on the page Just Try to reusing the already allocated audio/video elements. And Chrome will be raising the limit to 1,000 in the August 3, 2021 update.

  2. Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence

    To Solve Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence Error Here Chrome has a limited number of audio and video tags that can be allocated in a particular tab. You can play 75 for desktop browsers and 40 for mobile browsers. So temporary solution is to limit the number of audio and video tags created on the page Just Try to reusing the already allocated audio/video elements. And Chrome will be raising the limit to 1,000 in the August 3, 2021 update.

Solution 1

Here Chrome has a limited number of of audio and video tags that can be allocated in a particular tab. You can play 75 for desktop browsers and 40 for mobile browsers. So temporary solution is to limit the number of audio and video tags created on the page Just Try to reusing the already allocated audio/video elements. And Chrome will be raising the limit to 1,000 in the August 3, 2021 update.

Solution 2

Also Before deallocating the audio/video elements setting the following seems to force clean up of the element.

mediaElement.remove();
mediaElement.srcObject = null;

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment