add key to player, to re init component on channel change

This commit is contained in:
jb-alvarado 2021-03-20 20:26:53 +01:00
parent b9fbec7085
commit dc1b2332eb

View File

@ -5,7 +5,7 @@
<b-row class="control-row">
<b-col cols="3" class="player-col">
<b-aspect aspect="16:9">
<video-player v-if="videoOptions.sources" reference="videoPlayer" :options="videoOptions" />
<video-player v-if="videoOptions.sources" :key="configID" reference="videoPlayer" :options="videoOptions" />
</b-aspect>
</b-col>
<b-col class="control-col">