Code Monkey home page Code Monkey logo

courseware-enhancer's People

Contributors

maelimhof avatar

Watchers

 avatar

courseware-enhancer's Issues

No way to set the default speed when starting a video

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)

No README

Need to get this repo more visitors-friendly

Pressing space bar outside of full screen scrolls a bit down

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.

Pause and resume on the same space bar press

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

Parameters are not user-defined

Some parameters such as :

  • Speed step (step taken when the user increases/decreases the play speed, currently 0.25 each press)
  • Time step (step taken when the user goes backward/forward in the video, currently 5 seconds each press)
  • Keys associated with action (what key does what action)
  • Default speed when a video starts (currently defined by the website itself, see #8)
  • Quick drop-down of often used speeds (currently managed by the website itself, see #9)

could be directly set by the user via a basic interface and settings UI.

EDIT : added the settings suggested in issues #8 and #9

Mark PDF sections as read automatically

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 :

  • Skip PDF sections => Will skip the sections with PDFs and stuff
  • Skip assignment sections => Will skip the sections where some random text is provided and you must do the exercises it tells you to do
  • Skip assignment solutions sections => If you don't do the assignment, you probably won't need the solutions, but just in case make it a separate option

No knowledge of the current playback rate

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.
image

Custom speed dropdown

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.

Continuously increase/decrease speed when holding up/down key

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.