An open API service indexing awesome lists of open source software.

https://github.com/rtfmkiesel/alteredsecurity-videoplayer

A Video Player for AlteredSecurity Courses
https://github.com/rtfmkiesel/alteredsecurity-videoplayer

python

Last synced: about 1 year ago
JSON representation

A Video Player for AlteredSecurity Courses

Awesome Lists containing this project

README

          

# A Video Player for AlteredSecurity Courses
I quickly made this to track my progression throughout the videos provided by AlteredSecurity. It works by using [local browser storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).

The HTML and JS will:
+ Be like a regular video player with
+ play/pause
+ previous/next
+ 10s back/forward
+ speed adjustments
+ light/dark mode
+ Remember your settings
+ the last video you were viewing
+ the timestamp and playback speed
+ light/dark mode

![Demo Image](demo.png)

## Usage
Install the dependencies (just `jinja2`) and then generate the HTML with `generate.py`. Afterward open the HTML in your preferred browser and add it as a bookmark.

```
usage: generate.py [-h] -t TITLE -d DIR [-o OUTFILE] [-e EXTENSION]

options:
-h, --help show this help message and exit
-t TITLE, --title TITLE
Course Title
-d DIR, --dir DIR Directory containing the videos
-o OUTFILE, --outfile OUTFILE
Output HTML file
-e EXTENSION, --extension EXTENSION
Video file extension
```

Example:
```bash
pip install -r requirements.txt

python generate.py -t "Azure AD" -d ~/edu/azureadlab/CourseVideos -o ~/edu/azureadlab/CourseVideos/index.html
```