Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Yes, as long as you use the new Vimeo "wrapper." (The original player modules are being deprecated as of Popcorn 1.4.)</p> <p>The wrapper is here:</p> <p><a href="https://github.com/mozilla/popcorn-js/blob/master/wrappers/vimeo/popcorn.HTMLVimeoVideoElement.js" rel="nofollow">https://github.com/mozilla/popcorn-js/blob/master/wrappers/vimeo/popcorn.HTMLVimeoVideoElement.js</a></p> <p>You also need to include <a href="https://github.com/mozilla/popcorn-js/blob/master/wrappers/common/popcorn._MediaElementProto.js" rel="nofollow">this file</a> first.</p> <p>By default, the Vimeo wrapper disables the title, byline and portrait.</p> <p><strong>Edit</strong>: You just need three scripts from the popcorn-js repo, and include them in script tags in this order:</p> <ol> <li><a href="https://github.com/mozilla/popcorn-js/blob/master/popcorn.js" rel="nofollow">popcorn.js</a></li> <li><a href="https://github.com/mozilla/popcorn-js/blob/master/wrappers/common/popcorn._MediaElementProto.js" rel="nofollow">popcorn._MediaElementProto.js</a></li> <li><a href="https://github.com/mozilla/popcorn-js/blob/master/wrappers/vimeo/popcorn.HTMLVimeoVideoElement.js" rel="nofollow">HTMLVimeoVideoElement.js</a></li> </ol> <p>Create a container element in which to put the video:</p> <pre><code>&lt;div id="video"&gt;&lt;/div&gt; </code></pre> <p>Instantiate the video wrapper and popcorn:</p> <pre><code>var video = Popcorn.HTMLVimeoVideoElement('#video'); video.src = 'vimeo url goes here'; var popcorn = Popcorn(video); </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload