Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Download Zoom Recording
// ==UserScript==
// @name Download Zoom Recording
// @namespace http://www.bluespace.tech/
// @version 0.3
// @description Add a green button to download zoom recorded video.
// @author William Li, author of ID Guard Offline, a great password manager
// @match https://us02web.zoom.us/rec/*
// @grant none
// @license MIT
// @homepageURL http://www.bluespace.tech/
// @supportURL https://gist.github.com/everwanna/fbc88a56bd2a71ccc3f7c9443737fdb6
// ==/UserScript==
(function() {
'use strict';
// Your code here...
window.setTimeout(function() {
var v = document.getElementsByTagName('video')[0];
var source = v.currentSrc;
var download = document.createElement('a');
download.href = source;
download.style = "position: fixed; right: 16px; top: 16px; background-color: MediumSeaGreen; color: white; padding: 12px;";
download.innerText = "Right click, Save Link As...";
document.body.appendChild(download);
}, 2000);
})();
@blannoy

This comment has been minimized.

Copy link

@blannoy blannoy commented Dec 11, 2020

In a zoom session with a gallery and speaker view there are 2 video's. I made a raw modification that loops over the video elements and shows a link for each.

 var downloadList=document.createElement('div');
    downloadList.style = "position: fixed; right: 16px; top: 16px; background-color: MediumSeaGreen; color: white; padding: 12px;";
    var list = Array.prototype.slice.call(videos);
    list.forEach(function showLink(v,i){
        var source = v.currentSrc;
        var download = document.createElement('a');
        download.href = source;
        download.innerText = "Download link "+i+"";
        download.style = "background-color: MediumSeaGreen; color: white; padding: 12px;";
        downloadList.appendChild(download);
    });
    document.body.appendChild(downloadList);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment