cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

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

Priyadharshini
8-Gravel

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

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 1

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

Top Tags