From 77a32e3371659a62589216e9a3ed1c76c7b31407 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 13 Feb 2016 12:54:31 -0800 Subject: [PATCH] Fix Dailymotion start time. --- src/Linkification/Embedding.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index 6ccb29779..8b2f0a9ca 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -175,7 +175,7 @@ Embedding = src: a.dataset.href , key: 'Dailymotion' - regExp: /^\w+:\/\/(?:(?:www\.)?dailymotion\.com\/(?:embed\/)?video|dai\.ly)\/([A-Za-z0-9]+).*((?:\?.*)?)/ + regExp: /^\w+:\/\/(?:(?:www\.)?dailymotion\.com\/(?:embed\/)?video|dai\.ly)\/([A-Za-z0-9]+)[^?]*(.*)/ el: (a) -> options = if (start = a.dataset.options.match /[?&](start=\d+)/) then "?#{start[1]}" else '' $.el 'iframe',