drlight17 / bbb-add-download-button

Add download full presentation mp4 button to player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo is archived as tilmanmoser/bbb-video-download project is unmaintened now. Use my fork of bbb-mp4 project instead as it is compatible with 2.6+ BBB versions.

bbb-add-download-button

Screenshot
Add download full presentation mp4 button to player
This created to work with https://github.com/tilmanmoser/bbb-video-download
Check check_url= parameter in source of bbb-download-button.js file and edit with your mp4 generated path.
Place file bbb-download-button.js to the according path
Add the following string at the end of <body> tag in ./bigbluebutton/playback/presentation/2.3/index.html:

<script src="/playback/presentation/2.3/static/js/bbb-download-button.js"></script>

That's it.
This is compatible with BBB 2.3+ with the new version of presentation player It also compatible with dockerized BBB, just place edited index.html file to /bbb-docker/mod/nginx/bbb-playback/custom, bbb-download-button.js file to /bbb-docker/mod/nginx/bbb-playback/custom/static/js and add the following to the /bbb-docker/mod/nginx/Dockerfile to the end:

COPY ./bbb-playback/custom /www/playback/presentation/2.3

Tested with installed BBB 2.4 and dockerized BBB 2.5

For old 2.2 player see legacy branch

Issues

Sometimes there are issues with bbb-video-download (post_publish hooks or dockerized bbb compatibility) and as a workaround I've created a manual init script to run a scheduled task of creation mp4.

About

Add download full presentation mp4 button to player


Languages

Language:JavaScript 100.0%