This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Wistia Video Downloader</title> | |
| </head> | |
| <body> | |
| <input id="to-dl" type="text" placeholder="Your wistia link and thumbnail clipboard"> | |
| <button id="submit">Download</button> | |
| <p id="feedback">Paste a wistia video link and thumbnail here : right click on the video you want to download, and select "Copy link and thumbnail" in the contextual menu, then paste it in the input right over here</p> | |
| </body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // To use as your page loading: | |
| // Best way is to embed in your HTML a DIV.overlay, without the hidden class | |
| // This way, your page is loaded with the overlay on | |
| // Do your initialization stuff, then just stop the loading, voilà! | |
| // Attach to window to make it globally available in your runtime | |
| window.overlay = document.querySelector('#overlay'); | |
| // ... Or, built an overlay DOM element when required | |
| window.overlay = document.createElement('DIV'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import argparse | |
| import statistics | |
| global moodbarSamples | |
| moodbarSamples = 1000 # This value is according to Moodbar definition (https://en.wikipedia.org/wiki/Moodbar) | |
| ## -------------------- Script execution context -------------------- ## | |