Dailymotion: "Playback Quality Control" Feature

Add some site-wide video playback quality control settings to Dailymotion.

Versión del día 27/07/2014. Echa un vistazo a la versión más reciente.

Autor
David Toso
Calificaciones
0 0 0
Versión
0.0.3
Creado
27/07/2014
Actualizado
27/07/2014
Tamaño
9.23 KB
Licencia
Desconocida
Funciona en

DailyMotion "Playback Quality Control" (0.0.3).

***EXPERIMENTAL***

Description

The Dailymotion player playback settings suck a bit. Specifically:

  • There's no site-wide setting for whether you want Automatic Playback of videos
  • The "Optimal" playback quality setting just isn't, and there's no site-wide setting
    for desired playback quality.

This UserScript removes the normal player and replaces it with the player that Dailymotion
allow you to embed on your own site, which llows some control of playback settings.
This UserScript allows you to directly express your desired site-wide preferences for
Auto Play and Maximum Desired Quality.

Known Issues:

  • There's a small possibility that I don't get to remove the normal player before it
    starts playing the video. Feedback about how to prevent this welcome.
  • Detection of the available resolutions for a video requires talking to the Dailymotion
    REST API. This is quite slow. I've added a bit of animation to the video display box
    to smooth this out, but it could do with some tweaking.
  • Volume slider is inoperable.
  • I've not tested this at all with HTML5.

Long-term stability:

  • This is using the public REST API and the public Player API - both in the recommended
    way, so that shouldn't break any time soon.
  • Dailymotion occasionally change how the tabs below the video are rendered, so if they
    do the 'Quality' tab won't work/display.

I'll try to keep this updated as much as humanly possible.

长期地址
遇到问题?请前往 GitHub 提 Issues。