Skip to content
Snippets Groups Projects
Commit 9b7c734f authored by Lucas Zawacki's avatar Lucas Zawacki
Browse files

Prevent problems playing some vimeo videos by adding default options

parent 34fea22c
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment