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