Merge pull request #208 from ttshivers/default_volume
Default web play volume 100%
This commit is contained in:
commit
19b47eaa7c
|
@ -147,7 +147,7 @@ export default {
|
||||||
|
|
||||||
fluid: true,
|
fluid: true,
|
||||||
preload: 'auto',
|
preload: 'auto',
|
||||||
volume: 0.5,
|
volume: 1,
|
||||||
aspectRatio: '16:9',
|
aspectRatio: '16:9',
|
||||||
autoplay: true,
|
autoplay: true,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
@ -420,8 +420,8 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
playerReadied(player) {
|
playerReadied(player) {
|
||||||
// console.log('Setting volume to ' + this.$store.getters.getSettingPTPLAYERVOLUME )
|
// console.log('Setting volume to ' + this.$store.getters.getSettingPTPLAYERVOLUME)
|
||||||
this.player.volume(this.$store.getters.getSettings.PTPLAYERVOLUME || 0);
|
this.player.volume(this.$store.getters.getSettings.PTPLAYERVOLUME || 100);
|
||||||
this.player.currentTime(this.initialOffset / 1000);
|
this.player.currentTime(this.initialOffset / 1000);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue