Fix Dailymotion start time.
This commit is contained in:
parent
fa2a55a3a1
commit
77a32e3371
@ -175,7 +175,7 @@ Embedding =
|
|||||||
src: a.dataset.href
|
src: a.dataset.href
|
||||||
,
|
,
|
||||||
key: 'Dailymotion'
|
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) ->
|
el: (a) ->
|
||||||
options = if (start = a.dataset.options.match /[?&](start=\d+)/) then "?#{start[1]}" else ''
|
options = if (start = a.dataset.options.match /[?&](start=\d+)/) then "?#{start[1]}" else ''
|
||||||
$.el 'iframe',
|
$.el 'iframe',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user