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