maelimhof / courseware-enhancer Goto Github PK
View Code? Open in Web Editor NEWImproves the user experience when using the MOOCs on courseware.epfl.ch (very specific extension)
License: GNU General Public License v3.0
Improves the user experience when using the MOOCs on courseware.epfl.ch (very specific extension)
License: GNU General Public License v3.0
The speed of the video when it starts is constant, it is defined by the website (courseware.epfl.ch), not by the plugin. It can only be 0.75x, 1x, 1.25x or 1.5x
How about I had a way to set the default speed of the video when the user starts it? It would be one more setting (see #7)
There's currently no button assigned to entering/exiting the full screen mode, this could come in really handy
Need to get this repo more visitors-friendly
On YouTube, when you double click a video fast enough, it makes it enter/exit full screen. Why not add it to courseware.epfl.ch?
The default behavior of a press on the space bar on a web page, I think, is to scroll a little bit downwards, at least in Firefox.
This should be avoided by the plugin to ensure the video stays entirely on the screen and does not get scrolled out.
The extension only is available on Firefox at the moment, I need to work on a Chrome version to spread the word
It appears that the add-on will cause some trouble if the play/pause button is already focused.
In fact, the pause/resume feature works fine on courseware.epfl.ch, but only when the play/resume button is focused, which is not really often. However, when it is focused, the space bar pauses the video with the default behavior (acting on the focused element) and then reverses the action by resuming it in the code of the plugin.
I thought event.preventDefault()
would be enough, but apparently not, I need to figure out how to improve this minor issue
Some parameters such as :
could be directly set by the user via a basic interface and settings UI.
The MOOCs hosted on courseware.epfl.ch are divided into different types of sections, like introductions, videos, PDF documents, quizzes, assignment, assignment solutions, and so on...
The MOOCs also save whether you've gone over a section or not, if yes it puts a tick on the side of the section so you know you have done it. When all the sections of a sub-chapter or a chapter are done, the chapter is marked as done as well.
The PDF document sections, like the assignment and the assignment solutions sections, are sometimes not useful, depending on your style of studying. I personally tend to skip those sections, as they do not particularly help me. However, I must stay some time in them, so the MOOC will add the tick, otherwise the chapter won't ever complete.
There must be some kind of way to make the tick appear automatically faster or at least not to have to do it yourself. I shall dig deeper in this problematic to see whether it's possible to even decide to put automatically a tick on those sections.
If it is possible, then the plugin should be able to do it, but also not to do it depending on the user's studying style. This will represent three more options, as I imagine it right now :
The plugin allows us to increase or decrease the playback rate of the video, but we never know what is the currently playback rate unless we reset it using the video's default controls.
I need to add integration for adding some custom speed element in the playback rate selector below, to show the user what the current playback rate is.
The website courseware.epfl.ch gives the user some choice about the speed : 0.75x, 1x, 1.25x, 1.5x. But what if the extension made the user able to define what elements should appear in this dropdown, instead of the ones mentioned?
The users could then set their own preferences in the settings (see #7) about what elements include in the drop-down.
Currently the change of speed is only triggered whenever the up/down keys are released, but if you want to go for a high speed, you might want to just hold the button. However, in the current implementation, that does not work, and you must press many times to highly increase the speed.
That should be a quick enhancement that might be actually useful
When the transcription button or the subtitles button are focused, pressing space bar will also toggle the click of these buttons. However, it is not the case for the full screen button or the sound button, so I do not really know yet what's the difference between those buttons.
However, this bug can be quiet annoying, so I shall find a way to fix it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.