How to enable Download optionIf you want to enable to download content, simply enable the In PRO you can also add custom button to the toolbar. Create custom element SVG or Text and enter download to the How it worksWhen 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. |