Popcorn.util.toSeconds()

HTML

<script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script>
<video height="180" width="300" id="video" controls> 
<source src="http://cuma.cu.ma/mov.mov"></source>
</video>

CSS

html{font-family:arial;}

JavaScript

var $pop = Popcorn("#video", { 
             // Set the framerate for all plugin start/end points
             framerate: 24 
           });