src/js/widgets/helloWorldWidget.js
author hamidouk
Wed, 01 Feb 2012 14:19:32 +0100
branchpopcorn-port
changeset 758 7fdb2d92da58
parent 661 48c1beea7b1c
child 766 aa26ddaf2556
permissions -rw-r--r--
trigger the seeked signal after seeking because due to a bug in jwplayer, it's not triggered when the video was paused.

IriSP.HelloWorldWidget = function(Popcorn, config, Serializer) {
  IriSP.Widget.call(this, Popcorn, config, Serializer);
}

IriSP.HelloWorldWidget.prototype = new IriSP.Widget();

IriSP.HelloWorldWidget.prototype.draw = function() {
    this.selector
        .html('Hello, world')
        .css({
            "text-align" : "center",
            "padding": "10px 0",
            "font-size" : "14px",
        });
        
    console.log(this);
}