2018-02-05 17:43:45 +00:00
|
|
|
import VideoDialog from './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
|
|
|
}
|