Dailymotion: "Included By" Feature

Show all playlists that include the current video

Skaber
David Toso
Daglige installationer
0
Installationer i alt
680
Bedømmelser
3 0 1
Version
0.9.9
Oprettet
19.07.2014
Opdateret
14.08.2014
Licens
N/A
Gælder for

DailyMotion "Included By" (0.9.9).

Please note - 27/Sep/2014

It looks like Dailymotion have made an (unannounced) change to their data APIs, which will affect some/many users of this UserScript:

  • They've changed the /video/xxxxxx/playlists/ API such that if the video has been marked by Dailytion/users as "explicit" (requires Age Gate cookie) then the Data API will NOT return any playlists.
  • This is a change from the previous behaviour whereby the playlists would be returned and an "explicit" flag would be set in the response.

The upshot is that if you were using this script to "explore" videos related to those marked "explicit", this UserScript will not work anymore. There also appears to be no other way to access this data.

If you were using this UserScript for videos not marked "explicit" then nothing will have changed.

Description

There used to be a Dailymotion video tab called "Playlists" below the video player (there still is on Android!). That tab showed the 10 most popular user-generated playlists that included the current video, and was useful for finding similar content uploaded by other DailyMotion members. DailyMotion first disabled, then removed that feature. This UserScript aims to restore (and improve!) that functionality.

Details:

  • Shows *all* playlists which contain the current video, paginated (10 per page).
  • Shows preview video thumb for each playlist, with the owning user and number of videos.
  • Highlights the logged-in user's name when found as a playlist owner.
  • New: Highlights the "Add To" tab in green when you already have the current video in one or more of your playlists.
  • Fixed: Updated to support GreaseMonkey 2+ on Firefox 30+.
  • Fixed: Fixed issue with skipping of pages.

Long term stability:

While the REST apis for getting information about videos have not changed in a long time, DailyMotion changes the video page itself very often in ways which can break UserScripts which attempt to attach to it. I'll try to keep this UserScript updated as much as humanly possibe!