As a video streaming media player developed by tsingsee Qingxi video, easyplayer series projects support integration and secondary development. You can also download and try to obtain real test results. Among them, the new h.265 player branch easywasm player is the mainstream player for web page playback.
When we use easywasmlayer to play video in the project, the console will always report the error uncaught (in promise) domexception. In this article, we will analyze what caused the error.
In fact, this problem is caused by the browser’s blocking automatic playback. The user has set automatic playback, so this situation will occur when the first screen is loaded. To deal with this situation, you can disable the audio.
Changing openaudio to true disables audio or prevents the player from loading as soon as the first screen comes up, but this is obviously not the problem in this project. Instead, open the playback page, select the device to start playing, and then start loading the player. After modification, it can play normally:
Easyplayer, a player independently developed by tsingsee Qingxi video, is currently being effectively used on multiple platforms and supports integration. It also includes players such as easyplayer RTSP, easyplayer RTMP, easyplayerpro and easyplayer.js, which has higher availability and lower latency. Welcome to know.
Read More:
- Remove video with video byte 0, uncaught (in promise) domexception: failed to load because no supported source was f
- Vue router click the menu bar and the same module reports an error Vue router.esm.js? 2215:2065 Uncaught (in promise) Error
- Uncaught domexception: failed to read the ‘contentdocument’ property from ‘htmliframeelement’
- Uncaught (in promise) Error: timeout of 5000ms exceeded
- Playing audio in termux
- Ie11 reports an error unhandled promise rejection typeerror: the object does not support
- ionic Uncaught (in promise): Error: StaticInjectorError[NavController]
- Uncaught (in promise) TypeError: Object(…) is not a function
- Error in created hook: “referenceerror:” promise “undefined” Vue cli project Google is right, ie reported an error, “promise” undefined“
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- Solve the audio control and report domexception: the play() request was interrupted by a call to pause in the chrome console
- Error 1: Vue quickly clicks the route to jump. Error: uncaught (in promise) error: request aborted
- Lamdba in the studio part reports an error. Observe lamdba reports an error but can run
- Video JS can’t play the prompt( CODE:4 MEDIA_ ERR_ SRC_ NOT_ SUPPORTED) No compatible source was found for this video.
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- Hadoop reports an error. Cannot access scala.serializable and python MapReduce reports an error
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- [OpenGL · error] visual studio 2019 reports an error. It is an external symbol gladloadglloader that cannot be parsed. This symbol is referenced in the function main
- DOMException: play() failed because the user didn‘t interact with the document first
- Let reports an error in idea