Prevent problems playing some vimeo videos by adding default options

This commit is contained in:
Lucas Zawacki 2020-06-09 16:41:51 -03:00
parent 34fea22ccb
commit 9b7c734f86

View File

@ -47,6 +47,12 @@ class VideoPlayer extends Component {
};
this.opts = {
// default option for all players, can be overwritten
playerOptions: {
autoplay: true,
playsinline: true,
controls: true,
},
file: {
attributes: {
controls: true,