Fix fullscreen in Vimeo embeds.
This commit is contained in:
parent
b6e64fb732
commit
3355b6dae5
@ -292,8 +292,10 @@ Embedding =
|
||||
key: 'Vimeo'
|
||||
regExp: /^\w+:\/\/(?:www\.)?vimeo\.com\/(\d+)/
|
||||
el: (a) ->
|
||||
$.el 'iframe',
|
||||
el = $.el 'iframe',
|
||||
src: "//player.vimeo.com/video/#{a.dataset.uid}?wmode=opaque"
|
||||
el.setAttribute "allowfullscreen", "true"
|
||||
el
|
||||
title:
|
||||
api: (uid) -> "https://vimeo.com/api/oembed.json?url=https://vimeo.com/#{uid}"
|
||||
text: (_) -> _.title
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user