JSFiddle

  • popcorn.smart #4 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    // create our popcorn instance
    var pop = Popcorn.smart( "#youtube", "http://www.youtube.com/watch?v=v-7kf7OZQtw" );
    
        pop.footnote({
            start: 1 ...
  • test nullvideo ie #1 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

        var video = new HTMLNullVideoElement( "#nullvideo" );
            video.autoplay = true;
    //        console.dirxml(video);
            video.src = "#t=,10";
            
       
            var pop = Popcorn( video );
    
            pop ...
  • Popcorn Context #11 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

    (function(Popcorn) {
        
      Popcorn.plugin( "funzo" , function( options ) {
    
        return {
          _setup: function() {
            // optional                          
          },
          start: function( event, options ) {
            // Do stuff at the start ...
  • Popcorn pause Example #31 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

    //create out instance
    var $pop = Popcorn("#video"),
        target = {
            name: "Popcorn",
            type: "Object",
            version: 0.9,
            authors: [ "Chris", "Dave", "Jon", "Mo ...
  • Popcorn pause Example #4 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

    //create out instance
    var $pop = Popcorn("#video"),
        target = {},
        src = {
            name: "Popcorn",
            type: "Object"
        },
        person = {
            array: [ "a", "b", "c" ],
            obj: {
                name ...
  • Popcorn pause Example #9 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

    //create out instance
    var $pop = Popcorn("#video"),
        target = {},
        src = {
            name: "Popcorn",
            type: "Object"
        };
    
    // after extend
    $pop.exec( 4, function() {
        console ...
  • Popcorn mute Example #21 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

    var $pop = Popcorn("#video");
    
    $pop.exec( 2, function() {
        
        console.log("muting!");
        
        this.mute();
        
    }).play(); 
    
    // Or...
    // $pop.mute(); 
    // $pop.trigger("mute"); 
  • Popcorn pause Example #351 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

    //create out instance
    var $pop = Popcorn("#video");
    
    $pop.exec( 1, function() {
        this.play( 3 );
    });
    //play the video
    $pop.play();
  • Popcorn pause Example #173 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

    //create out instance
    var $pop = Popcorn("#video");
    
    //play the video
    $pop.play();
  • Popcorn pause Example #1 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript, Firebug Lite

    var $pop = Popcorn("#video");
    
    $pop.exec( 1, function() {
        
        console.log("pausing!");
        
        this.pause( 5 );
        
    }).play(); 
    
    // Or...
    // $pop.pause(); 
    // $pop.trigger ...