iFrame API

  Przepraszamy, ten artykuł jest dostępny w języku angielskim

This method allows you to load the content of services that use PlayerJS with iFrame API integration.

Enable the API / iFrame API option and use the link to the content provided by the service in the standard way using the file parameter. At the end of the link should be ?pjsfr, the link is passed in the usual way with the file parameter:

var player = new Playerjs({id:"player", file:"https://service.com/video?pjsfr"});

You can configure the connection timeout (7 seconds by default). If the player can't connect to the service during this time, it will display a Loading error message or use backup links.

The ad plugin must be enabled in the settings.


21.0.1
2025 © PlayerJS

Rejestracja

Utwórz konto
Rejestrując się, akceptujesz User Agreement
Log in, jeśli masz już konto

Przywracanie hasła

Przywracanie
Jeśli zapomniałeś adresu e-mail, napisz do nas.