baptistecolle / collegerama

Watch Collegerama offline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intro

Collegerama lacks a 'watch this video offline' button. This project downloads the lecture and its slides and watch it in your browser.

Installation

  1. git clone git@github.com:MartijnDwars/collegerama.git
  2. npm install

Download

If you just want to download the lecture, simply use node download.js <resource-id>. The resource id is the part next to 'Play' in the URL. For example, in:

https://collegerama.tudelft.nl/Mediasite/Play/23c483f3255d411381c3ee583a8967451d?catalog=528e5b24-a2fc-4def-870e-65bd84b28a8c

it is 23c483f3255d411381c3ee583a8967451d.

Usage

If you want to use this as a local Collegerama clone:

  1. Figure out how to download the .mp4 for yourself
  2. Use node download.js <resourceId> to download the slides
  3. Serve index.html
  • Run some webserver that serves index.html (e.g. Apache, nginx)
  • Run Chrome with cross-origin check disabled (e.g open /Applications/Google\ Chrome.app --args --allow-file-access-from-files)

FAQ

About

Watch Collegerama offline


Languages

Language:HTML 67.8%Language:JavaScript 30.6%Language:CSS 1.6%