diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index fea9ecf6b..d3530ab6c 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -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