import { createVNode, render } from 'vue';
import './src/video-viewer.vue.mjs';
import script from './src/video-viewer.vue2.mjs';

"use strict";
const MeVideoViewer = (url) => {
  const mountNode = document.createElement("div");
  document.body.appendChild(mountNode);
  const app = createVNode(script, {
    url,
    close: () => {
      render(null, mountNode);
      document.body.removeChild(mountNode);
    }
  });
  render(app, mountNode);
};

export { MeVideoViewer };
//# sourceMappingURL=index.mjs.map
