|
|
|
@ -17,6 +17,7 @@ module.exports = Component.extend( |
|
|
|
ytncUrl: 'https://www.youtube-nocookie.com/embed/', |
|
|
|
viUrl: 'https://player.vimeo.com/video/', |
|
|
|
loop: 0, |
|
|
|
poster: '', |
|
|
|
muted: 0, |
|
|
|
autoplay: 0, |
|
|
|
controls: 1, |
|
|
|
@ -178,6 +179,12 @@ module.exports = Component.extend( |
|
|
|
placeholder: 'eg. ./media/video.mp4', |
|
|
|
changeProp: 1 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: 'Poster', |
|
|
|
name: 'poster', |
|
|
|
placeholder: '', |
|
|
|
changeProp: 1 |
|
|
|
}, |
|
|
|
this.getAutoplayTrait(), |
|
|
|
this.getLoopTrait(), |
|
|
|
this.getControlsTrait() |
|
|
|
|