iFrame API

  Siamo spiacenti, questo articolo è disponibile in inglese

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.


20.5.2
2025 © PlayerJS

Iscriviti gratuitamente

Iscriviti
Iscrivendosi, si accettano Termini di servizio
Login se si possiede un account

Ripristino della password

Ripristino
Hai dimenticato l'e-mail? Contattaci