This is a Bash script to upload a video to Fembed using their API. The script uses Tus Resumable upload protocol, version 1.0.0 to upload the video.
- Install
tusdserver by following the instructions here. - Clone this repository to your local machine.
- Install the required packages by running
sudo apt-get install curl jqin the terminal.
- Navigate to the directory containing the script.
- Run the script with the following command:
./fembedupload.sh video.mp4.
- The script assumes that you have a Fembed account and have obtained a client ID and client secret. If you don't have these, please visit Fembed to create an account and obtain the required credentials.
- The video may take some time to be processed by Fembed before it is available for playback.
- The script has been tested on Ubuntu 18.04 and 20.04.
This project is licensed under the MIT License. See the LICENSE file for details.