parent
b49540a339
commit
2c39273cc6
|
@ -51,6 +51,15 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
autoplay(newValue, oldValue) {
|
||||||
|
if (!oldValue && newValue) {
|
||||||
|
this.handleAutoPlay('playing');
|
||||||
|
} else if (newValue) {
|
||||||
|
this.handleAutoPlay('update');
|
||||||
|
} else {
|
||||||
|
this.pause('paused');
|
||||||
|
}
|
||||||
|
},
|
||||||
__propsSymbol__() {
|
__propsSymbol__() {
|
||||||
const nextProps = this.$props;
|
const nextProps = this.$props;
|
||||||
const spec = {
|
const spec = {
|
||||||
|
|
Loading…
Reference in New Issue