How to enable Download option


If you want to enable to download content, simply enable the Download option in any of the menu items

In PRO you can also add custom button to the toolbar. Create custom element SVG or Text and enter download to the Action / Command filed. 

How it works

When you click on the Download option in the menu or on your button, the browser will open a new tab with a direct link to the file. If mp4 or mp3 is played, the file will open in the browser player and the user will need to save the file via the browser menu, or press Ctrl + S (Command + S for Mac). You can immediately initiate the download if the file is sent from the server, as an application/octet-stream or binary file in a header.

You can give to download another file. This is especially true for HLS or DASH. To specify another link for downloading, you need to add the download parameter to the code. 

var player = new Playerjs({file:"//site.com/video.m3u8", download:"//site.com/video.zip"
The same parameter can be used in playlists.

The Art of Players
2018 © PlayerJS with ♥

Login

Restore password
Sign up
Log in

Sign up free

Sign up
By signing up, you agree to Terms of Service
Login if you have an account

Order player

Your name
What project do you need a player for?
Email
Phone
Description
Send
You agree to processing of this personal data.

Restore password

Restore
Forgot email? Contact us