Step-by-step manual for integration with iframe

  Désolé, cet article est disponible en anglais

  1. Create a folder on your site. For example, player
  2. //site.com/player
  3. Create a player in the builder, download the file (playerjs.js) and save it to this folder. The player script will be opened by such link
  4. //site.com/player/playerjs.js
  5. Download an example, unpack the archive in this folder. The file test.html should open in the browser.
    //site.com/player/test.html
  6. Add iframe code to the HTML on your website
    <iframe src="//site.com/player/playerjs.html?file=URL" type="text/html" width="width" height="height" frameborder="0" allowfullscreen></iframe>
    
    URL - This is a link to a media file (video or audio). Width and height - player sizes in pixels or percent. For example
    <iframe src="//site.com/player/playerjs.html?file=//plrjs.com/x.mp4" type="text/html" width="640" height="360" frameborder="0" allowfullscreen></iframe>
    
    You can add other parameters to the code. You can add a poster &poster = link-to-picture or the inscription &title = text. If you don’t know how to insert an iframe code on your website - try to google "How to insert an iframe on Wordpress" (instead of Wordpress, write your own website engine).

20.0.6
2024 © PlayerJS

S'inscrire gratuitement

S'inscrire
En vous inscrivant, vous acceptez les Termes de service
Login si vous avez un compte.

Restaurer le mot de passe

Restaurer
Vous avez oublié votre adresse électronique ? Contactez-nous