diff --git a/src/components/Player.vue b/src/components/Player.vue
index 7021adbe..3d9b2323 100644
--- a/src/components/Player.vue
+++ b/src/components/Player.vue
@@ -5,7 +5,13 @@
style="width: 100%; height: 100%; max-height: 75vh; min-height: 250px; background: #000"
ref="container"
>
-
+
@@ -21,6 +27,7 @@ export default {
video: Object,
sponsors: Object,
selectedAutoPlay: Boolean,
+ selectedAutoLoop: Boolean,
},
computed: {
shouldAutoPlay: _this => {
@@ -109,7 +116,7 @@ export default {
});
videoEl.addEventListener("ended", () => {
- if (this.selectedAutoPlay && this.video.relatedStreams.length > 0) {
+ if (!this.selectedAutoLoop && this.selectedAutoPlay && this.video.relatedStreams.length > 0) {
const params = this.$route.query;
let url = this.video.relatedStreams[0].url;
const searchParams = new URLSearchParams();
diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue
index 112836a2..536a353e 100644
--- a/src/components/WatchVideo.vue
+++ b/src/components/WatchVideo.vue
@@ -3,7 +3,13 @@