Greasy Fork

ASU Canvas Helper

1. fix video player size issue; 2. fix caption missing; 3. turn on caption by default; 4. add a button for downloading both video and caption with proper filenames

目前为 2022-05-08 提交的版本。查看 最新版本

作者
nendonerd
评分
0 0 0
版本
1
创建于
2022-05-08
更新于
2022-05-08
大小
9.1 KB
许可证
MIT
适用于

A helper to fix the Canvas UI issues for ASU online courses.

Having been just join the ASU online Master of CS program, I found that its online course system -- the Canvas, is really buggy and hard to use:

1. The video player size is too small, you have to fullscreen it to watch
2. Some video is in India accent, it's really hard to for someone who's not been exposed to India accent a lot to understand what the video speaks. I have to turn on caption
3. But the caption is always broken, you can't turn it on since the link to the caption is dead
4. Sometimes there're captions in pdf format for downloading which is very weird. And availability is not guarranted.
5. If no caption pdf is provided, I have to turn on Live Caption in Chrome. But when I fullscreen the player, it'll block the live caption.
So I dig into the website's code and write a plugin that helps with these player issues. It can correct the video player size, convert the damn pdf caption to srt caption and turn the caption on by default, and provide a download button to download both the caption and the video with approperate filenames. However the download progress won't show up when you hit the download button due to techniqual limitations, you have to wait for a bit. Otherwise, it works pretty well. It's been tested on these courses: https://courses.cpe.asu.edu/browse/mcs
Usage: Install Tampermonkey Plugin for Chrome, then go to this page and install the plugin