Переглянути джерело

feat: add station fullscreen message when station is station paused

Kristian Vos 1 рік тому
батько
коміт
6520afb4a3
1 змінених файлів з 11 додано та 0 видалено
  1. 11 0
      frontend/src/pages/Station/index.vue

+ 11 - 0
frontend/src/pages/Station/index.vue

@@ -2197,6 +2197,17 @@ onBeforeUnmount(() => {
 									frameborder="no"
 									allow="autoplay"
 								></iframe>
+								<div
+									class="player-fullscreen-message"
+									v-if="stationPaused"
+								>
+									<p>
+										This station is currently paused. <br />
+										It can only be resumed by a station
+										owner, station DJ or a site
+										admin/moderator.
+									</p>
+								</div>
 								<div
 									class="player-fullscreen-message"
 									v-if="!canAutoplay"