1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-25 13:09:19 +01:00
2018-02-08 22:29:29 -08:00

17 lines
358 B
JavaScript

import VideoDialog from './VideoDialog.html'
export function showVideoDialog (poster, src, width, height, description) {
let videoDialog = new VideoDialog({
target: document.getElementById('modal-dialog'),
data: {
label: 'Video dialog',
poster,
src,
width,
height,
description
}
})
videoDialog.show()
}