barbican-reset 2.16.2 → 2.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/video_content.vue +11 -2
- package/package.json +1 -1
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
|
|
3
3
|
<div>
|
|
4
|
-
<br-alert v-if="data.isExpired" error center inline>Event has passed.</br-alert>
|
|
5
|
-
<br-alert v-if="data.status === 'not_found'" error center inline>That video cannot be found.</br-alert>
|
|
6
4
|
<div v-if="shouldPlayVideo">
|
|
7
5
|
<video ref="videoPlayer" class="video-js margin-bottom-2"></video>
|
|
8
6
|
</div>
|
|
7
|
+
<div v-else>
|
|
8
|
+
<br-alert v-if="data.status === 'pre-event'" center inline>This event has not started yet.</br-alert>
|
|
9
|
+
<br-alert v-if="data.status === 'starting'" center inline>This event is starting.</br-alert>
|
|
10
|
+
<br-alert v-if="data.status === 'not-found'" error center inline>That video cannot be found.</br-alert>
|
|
11
|
+
<br-alert v-if="data.isExpired" error center inline>This event has now passed.</br-alert>
|
|
12
|
+
<p v-if="updateInterval">This page updates every {{ updateInterval / 1000 }} seconds</p>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
9
15
|
|
|
10
16
|
<h2 v-html="data.title" class="margin-bottom-1"></h2>
|
|
11
17
|
|
|
@@ -44,6 +50,9 @@ export default {
|
|
|
44
50
|
data: {
|
|
45
51
|
type: Object
|
|
46
52
|
},
|
|
53
|
+
updateInterval: {
|
|
54
|
+
type: Number
|
|
55
|
+
}
|
|
47
56
|
},
|
|
48
57
|
data() {
|
|
49
58
|
return {
|
package/package.json
CHANGED