Prevent problems playing some vimeo videos by adding default options
This commit is contained in:
parent
34fea22ccb
commit
9b7c734f86
@ -47,6 +47,12 @@ class VideoPlayer extends Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.opts = {
|
this.opts = {
|
||||||
|
// default option for all players, can be overwritten
|
||||||
|
playerOptions: {
|
||||||
|
autoplay: true,
|
||||||
|
playsinline: true,
|
||||||
|
controls: true,
|
||||||
|
},
|
||||||
file: {
|
file: {
|
||||||
attributes: {
|
attributes: {
|
||||||
controls: true,
|
controls: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user