src/widgets/HtmlPlayer.js
author ymh <ymh.work@gmail.com>
Tue, 22 Oct 2024 07:19:03 +0200
changeset 1078 c28fb800e252
parent 1072 ac1eacb3aa33
permissions -rw-r--r--
VideojsPlayer for Dailymotion in AutoPlayer

//HtmlPlayer

const HtmlPlayer = function (ns) {
  return class extends ns.Widgets.Widget {
    constructor(player, config) {
      super(player, config);
    }

    static defaults = {};

    draw() {
      ns.htmlPlayer(this.media, this.$, this);
    }
  };
};

export { HtmlPlayer };