Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <link href="" rel="stylesheet" type="text/css"/>
<script src=""></script>
<script src=""></script>
<script src=""></script>
<div id="content">
    <div id="player"></div>
    <div id="buttons">
        <label>Seek to frame: <input type="number" value="100" id="frame" /></label>
        <button id="seek">Seek</button>
      <label>Seek to timecode: <input type="text" placeholder="e.g 00:09:01:12 or 00:09:01;12" id="timecode" /></label>
      <button id="seek-to-timecode">Seek</button>
      <p>Timecodes either in format HH:MM:SS:FF or HH:MM:SS;FF (drop frame)</p>
      <p><a href="fas.html">30fps demo</a></p>
      <p><a href="fas.html?frame_rate=29.97">29.97fps demo</a></p>
    <div class="wrapper">
      <div id="stats"></div>


      font-family: 'work sans',avenir, sans-serif;


                 var util = flowplayer.util

var opts = 
    { src: "//"
    , preload: true 

  var stats =

  if (opts.frame_rate) {
    opts.fas = {
      frame_rate: opts.frame_rate
    opts.src = {
      src: '//' + encodeURIComponent(opts.frame_rate) + 'fps.mp4',
      type: 'video/mp4'
    delete opts.frame_rate
(console.table || console.log)(opts)

  var player =
    flowplayer("#player", opts)

  player.on("playing", function () {
    stats.innerText = ""

  click('#seek', function() {
    var frame = Number(document.querySelector('#frame').value);

  click('#seek-to-timecode', function() {

  function click(id, hndlr) {
    [], function(elem) {
      elem.addEventListener('click', hndlr);