Skip to main content
1-Visitor
August 3, 2021
Question

[Intervention] Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers.

  • August 3, 2021
  • 1 reply
  • 2357 views

Created an application in studio that has multiple views for different languages with audio's, each view is accessed with 2 language for now that has 14 English audios and 14 Romanian audios( this applies for 4 views).

The issue is when I switch between views as well as languages the audios play only once for 2 views, when its comes to 3rd and replaying the first 2 views no audio is played.

Attached screenshots of debugging for more clarity on the error/issue.

 

Error: 

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

 

1 reply

12-Amethyst
September 13, 2021

Hi, 

This seems to be related to a limitation on how chrome handels webmediaplayer requests. as per the info here: https://stackoverflow.com/questions/68480528/blocked-attempt-to-create-a-webmediaplayer-as-there-are-too-many-webmediaplayers

 

A solution would be to close the webmediaplayer once the audio finished playing. By doing this you will avoid encountering the issue. (Code on how to do this, is also available in the stackoverflow link)

 

Thank you.

Marius