'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-51e8292e.js');

const sparkleVideoPlayerCss = "";

const SparkleVideoPlayer = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.type = 'video/mp4';
    this.width = 400;
    this.controls = true;
  }
  render() {
    return (index.h("video", { width: this.width, controls: this.controls, preload: "metadata" }, index.h("source", { src: this.src, type: this.type })));
  }
};
SparkleVideoPlayer.style = sparkleVideoPlayerCss;

exports.sparkle_video_player = SparkleVideoPlayer;
