Created
September 19, 2012 16:39
-
-
Save MaxPower15/3750671 to your computer and use it in GitHub Desktop.
Turnstile example starting at nth video in playlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="wistia_1d35830d05" class="wistia_embed" style="width:947px;height:360px;" data-video-width="640" data-video-height="360"> </div> | |
<script charset="ISO-8859-1" src="http://fast.wistia.com/static/concat/E-v1%2Cplaylist-v1%2Cplaylist-v1-bento%2CrequireEmail-v1.js"></script> | |
<script> | |
wistiaPlaylist = Wistia.playlist("1d35830d05", { | |
version: "v1", | |
theme: "bento", | |
videoOptions: { | |
autoPlay: true, | |
videoWidth: 640, | |
videoHeight: 360 | |
}, | |
media_0_0: { | |
autoPlay: false, | |
controlsVisibleOnLoad: false | |
} | |
}); | |
Wistia.plugin.requireEmail(wistiaPlaylist, { | |
version: "v1", | |
topText: "Enter your email address\nto view this video.", | |
sectionIndex: 0, | |
videoIndex: 3 | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment