src/widgets/Segments.js
changeset 964 d7d56ea2d0a6
parent 959 ee11ed1b739e
child 982 cfcbac34d020
equal deleted inserted replaced
963:d58d0dcdb640 964:d7d56ea2d0a6
    60             })
    60             })
    61             .mouseout(function() {
    61             .mouseout(function() {
    62                 _annotation.trigger("unselect");
    62                 _annotation.trigger("unselect");
    63             })
    63             })
    64             .click(function() {
    64             .click(function() {
    65                 _this.media.setCurrentTime(_annotation.begin);
    65                 _annotation.trigger("click");
    66                 _this.player.trigger("Mediafragment.setHashToAnnotation", _data.id);
       
    67             })
    66             })
    68             .appendTo(_this.list_$)
    67             .appendTo(_this.list_$)
    69         _annotation.on("select", function() {
    68         _annotation.on("select", function() {
    70             _this.$segments.removeClass("active").addClass("inactive");
    69             _this.$segments.removeClass("active").addClass("inactive");
    71             _this.tooltip.show( _center, 0, _data.text, _data.color );
    70             _this.tooltip.show( _center, 0, _data.text, _data.color );