2018-01-28 00:35:44 +00:00
|
|
|
import VideoDialog from '../_components/status/VideoDialog.html'
|
2018-01-21 04:20:33 +00:00
|
|
|
|
2018-02-04 23:59:42 +00:00
|
|
|
export function showVideoDialog(poster, src, width, height, description) {
|
2018-01-21 04:20:33 +00:00
|
|
|
let videoDialog = new VideoDialog({
|
2018-02-05 03:15:35 +00:00
|
|
|
target: document.getElementById('modal-dialog'),
|
2018-01-21 04:20:33 +00:00
|
|
|
data: {
|
2018-02-05 03:15:35 +00:00
|
|
|
label: 'Video dialog',
|
2018-02-04 23:59:42 +00:00
|
|
|
poster,
|
|
|
|
src,
|
|
|
|
width,
|
|
|
|
height,
|
|
|
|
description
|
2018-01-21 04:20:33 +00:00
|
|
|
}
|
|
|
|
})
|
2018-02-04 21:49:43 +00:00
|
|
|
videoDialog.show()
|
2018-01-21 04:20:33 +00:00
|
|
|
}
|