Skip to content

Commit

Permalink
another dailymotion video urls variant (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
garmoncheg authored Oct 4, 2024
1 parent bae9644 commit 7333c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/links/hosted/known-players.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default {


// or DailyMotion, e.g. Liberation, Le Point, L'Express
urlMatch = video_src.match(/^(?:https?:)?\/\/(?:www\.)?dailymotion\.com\/(?:swf|embed)?\/?video\/([_a-zA-Z0-9\-]+)/i)
urlMatch = video_src.match(/^(?:https?:)?\/\/(?:www\.)?dailymotion\.com\/(?:swf|embed|crawler)?\/?video\/([_a-zA-Z0-9\-]+)/i)
|| video_src.match(/^(?:https?:)?\/\/(?:www\.)?dailymotion\.com\/swf\/([_a-zA-Z0-9\-]+)/i)
|| video_src.match(/^(?:https?:)?\/\/dai.ly\/([_a-zA-Z0-9\-]+)/i) // e.g. Libération.fr
|| video_src.match(/^https?:\/\/(?:geo\.)?dailymotion\.com\/player\.html\?video=([a-zA-Z0-9]+)/i);
Expand Down

0 comments on commit 7333c23

Please sign in to comment.