Merge remote-tracking branch 'mahkoh/youtube-unrelated'
This commit is contained in:
commit
396e6e7dfe
@ -442,7 +442,7 @@ Embedding =
|
|||||||
start += ' 0h0m0s'
|
start += ' 0h0m0s'
|
||||||
start = 3600 * start.match(/(\d+)h/)[1] + 60 * start.match(/(\d+)m/)[1] + 1 * start.match(/(\d+)s/)[1]
|
start = 3600 * start.match(/(\d+)h/)[1] + 60 * start.match(/(\d+)m/)[1] + 1 * start.match(/(\d+)s/)[1]
|
||||||
el = $.el 'iframe',
|
el = $.el 'iframe',
|
||||||
src: "//www.youtube.com/embed/#{a.dataset.uid}?wmode=opaque#{if start then '&start=' + start else ''}"
|
src: "//www.youtube.com/embed/#{a.dataset.uid}?rel=0&wmode=opaque#{if start then '&start=' + start else ''}"
|
||||||
el.setAttribute "allowfullscreen", "true"
|
el.setAttribute "allowfullscreen", "true"
|
||||||
el
|
el
|
||||||
title:
|
title:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user