Modo de depuração

  Desculpe, este artigo está disponível em inglês

You can enable debug mode in the builder and then service messages will be displayed in the browser console.

Image

You can also enable debug mode in the player code with option log:1

In Google Chrome you can find logs in console with Developer Tools

Image

In the same place logs of HLS or DASH modules will appear, if logging is enabled in their settings.

Debugging on mobile devices

We do not recommend using mobile device emulation in desktop browsers. This mode checks the layout well, but does not check differences in codecs and other details.

For Android you need to unlock developer mode and type chrome://inspect/#devices in desktop Chrome. Learn more about debugging on Android.

For iOS you need to unlock the Develop menu in Safari and connect the device via wire. Learn more about debugging on iOS.

You can also display logs directly on the test page without developer mode or connecting to a desktop. Please add <div id="pjslog"></div> block to the page under the player and also add the log:1,logout:1 to the player's code. The player will display all its logs in this block.


21.2.2
2026 © PlayerJS

Iniciar sessão

Iniciar sessão

Inscrever-se gratuitamente

Inscrever-se
Ao inscrever-se, o utilizador concorda com Termos de Serviço
Login se tiver uma conta

Restaurar a palavra-passe

Restaurar
Esqueceu-se do e-mail? Contacte-nos