JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script>
<video height="180" width="300" id="video" controls>
<source src="http://videos.mozilla.org/serv/webmademovies/popcornplug.mp4"></source>
<source src="http://videos.mozilla.org/serv/webmademovies/popcornplug.ogv"></source>
<source src="http://videos.mozilla.org/serv/webmademovies/popcornplug.webm"></source>
</video>
<div id="activitydiv"></div>
JavaScript
// create our popcorn instance
var p = Popcorn( "#video" )
// play the video
.play()
// set the volume to zero
.volume( 0 )
.tumblr({
requestType: "blogpost",
target: "activitydiv",
start: 1,
end: 5,
blogId: 10596794348,
base_hostname: "john.io/",
api_key: "7lQpV9mMr2PiYjd20FavZcmReq8cWU0oHTS6d3YIB8rLUQvvcg"
});