Hafif entegrasyon Üzgünüz, bu makale İngilizce olarak mevcuttur Only a light poster will be displayed on the page, and the player itself will be created only after clicking. This mode can positively affect the rendering speed of the page by the browser. Please enable the PRO option let player = new PlayerjsPoster({id:"player", file:"URL", poster:"URL", postericon:1}); There you can use an image or a short You can also pass postericon:1 to display the launch icon in the center. You can add the posterplay:0 option if you don't want to start automatically on click. You can add the posterscale:0 option if you don't want to scale the poster on hover.
APIYou can also use JS API, just call the player via global variable playerjs[id] playerjs["player"].api("play"); YoutubeYou can specify a YouTube video poster like this: https://img.youtube.com/vi/videoID/maxresdefault.jpg EncodingDo not encrypt the link to the poster that is loaded in this integration. The remaining links that are transmitted to the player can be encrypted. If you are encrypting the entire object with variables, then use the play parameter for the string with the encrypted data. let player = new PlayerjsPoster({id:"player", poster:"URL", play:"encoded-string"}); |