Skip to content

Instantly share code, notes, and snippets.

@woeldiche
Created October 15, 2013 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woeldiche/6997486 to your computer and use it in GitHub Desktop.
Save woeldiche/6997486 to your computer and use it in GitHub Desktop.
Scope cover video element, final version :-)
<div class="block-covervideo" id="video-layer">
<video id="vid1" class="video-js vjs-default-skin el-covervideo"
width="320"
height="180"
controls
poster='/sites/default/files/general/Scope04_Frontpage_1200x675px.jpg'
data-cookie="scope42"
data-hd='http://player.vimeo.com/external/72242208.hd.mp4?s=940c262b3ac59c043a2be9c0f61d494b'
data-sd='http://player.vimeo.com/external/72242208.sd.mp4?s=293906304be4160dfe287d150b7baecc'
data-setup='{ "loop": false, "autoplay": false }'
>
<source src="http://player.vimeo.com/external/72242208.mobile.mp4?s=ffe259ac0d3ef8519267096395028f85" type='video/mp4' />
</video>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment