@saooti/octopus-sdk 30.0.7 → 30.0.11
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/README.md +5 -1
- package/index.ts +13 -2
- package/package.json +1 -1
- package/src/assets/bootstrap-diff.scss +17 -25
- package/src/assets/form.scss +7 -37
- package/src/assets/general.scss +62 -171
- package/src/assets/live.scss +39 -0
- package/src/assets/modal.scss +14 -18
- package/src/assets/multiselect.scss +4 -85
- package/src/assets/octopus-library.scss +1 -0
- package/src/assets/share.scss +149 -267
- package/src/assets/transition.scss +95 -1
- package/src/components/display/categories/CategoryChooser.vue +1 -1
- package/src/components/display/categories/CategoryList.vue +2 -4
- package/src/components/display/comments/CommentInput.vue +2 -2
- package/src/components/display/comments/CommentItem.vue +6 -6
- package/src/components/display/comments/CommentParentInfo.vue +1 -1
- package/src/components/display/comments/CommentPlayer.vue +1 -1
- package/src/components/display/edit/EditCommentBox.vue +8 -16
- package/src/components/display/emission/EmissionChooser.vue +1 -3
- package/src/components/display/emission/EmissionInlineList.vue +12 -3
- package/src/components/display/emission/EmissionItem.vue +22 -64
- package/src/components/display/emission/EmissionList.vue +59 -68
- package/src/components/display/emission/EmissionPlayerItem.vue +10 -9
- package/src/components/display/filter/AdvancedSearch.vue +50 -146
- package/src/components/display/filter/CategoryFilter.vue +9 -13
- package/src/components/display/filter/MonetizableFilter.vue +2 -4
- package/src/components/display/filter/ProductorSearch.vue +20 -40
- package/src/components/display/filter/RubriqueChoice.vue +5 -7
- package/src/components/display/filter/RubriqueFilter.vue +8 -13
- package/src/components/display/live/CountDown.vue +4 -2
- package/src/components/display/live/LiveHorizontalList.vue +1 -1
- package/src/components/display/live/LiveItem.vue +4 -4
- package/src/components/display/live/LiveList.vue +84 -214
- package/src/components/display/organisation/OrganisationChooser.vue +5 -26
- package/src/components/display/organisation/OrganisationChooserLight.vue +7 -1
- package/src/components/display/participant/ParticipantItem.vue +7 -19
- package/src/components/display/participant/ParticipantList.vue +39 -52
- package/src/components/display/playlist/PlaylistItem.vue +2 -2
- package/src/components/display/playlist/PlaylistList.vue +8 -14
- package/src/components/display/playlist/PodcastList.vue +21 -40
- package/src/components/display/podcasts/AnimatorsItem.vue +0 -1
- package/src/components/display/podcasts/ParticipantDescription.vue +4 -16
- package/src/components/display/podcasts/PodcastFilterList.vue +20 -63
- package/src/components/display/podcasts/PodcastImage.vue +27 -84
- package/src/components/display/podcasts/PodcastInlineList.vue +14 -36
- package/src/components/display/podcasts/PodcastItem.vue +5 -5
- package/src/components/display/podcasts/PodcastList.vue +7 -14
- package/src/components/display/podcasts/PodcastModuleBox.vue +9 -28
- package/src/components/display/podcasts/TagList.vue +2 -3
- package/src/components/display/rubriques/RubriqueChooser.vue +2 -2
- package/src/components/display/rubriques/RubriqueList.vue +5 -25
- package/src/components/display/sharing/PlayerParameters.vue +30 -71
- package/src/components/display/sharing/ShareButtons.vue +21 -45
- package/src/components/display/sharing/ShareDistribution.vue +1 -7
- package/src/components/display/sharing/SharePlayer.vue +10 -19
- package/src/components/display/sharing/SharePlayerColors.vue +4 -8
- package/src/components/display/sharing/SharePlayerTypes.vue +1 -2
- package/src/components/display/sharing/SubscribeButtons.vue +2 -4
- package/src/components/form/ClassicCheckbox.vue +61 -0
- package/src/components/form/ClassicLoading.vue +28 -0
- package/src/components/form/ClassicRadio.vue +61 -0
- package/src/components/form/ClassicSearch.vue +82 -0
- package/src/components/misc/ErrorMessage.vue +4 -1
- package/src/components/misc/Footer.vue +26 -35
- package/src/components/misc/HomeDropdown.vue +42 -91
- package/src/components/misc/LeftMenu.vue +107 -141
- package/src/components/misc/Player.vue +15 -29
- package/src/components/misc/PlayerButtons.vue +14 -37
- package/src/components/misc/PlayerClockAndTimeline.vue +1 -1
- package/src/components/misc/PlayerProgressBar.vue +15 -50
- package/src/components/misc/TopBar.vue +139 -222
- package/src/components/misc/modal/NewsletterModal.vue +13 -27
- package/src/components/pages/Category.vue +3 -8
- package/src/components/pages/Emission.vue +12 -24
- package/src/components/pages/Emissions.vue +8 -17
- package/src/components/pages/Home.vue +1 -3
- package/src/components/pages/Lives.vue +1 -4
- package/src/components/pages/Participant.vue +19 -27
- package/src/components/pages/Participants.vue +7 -15
- package/src/components/pages/Playlist.vue +16 -29
- package/src/components/pages/Playlists.vue +1 -11
- package/src/components/pages/Podcast.vue +16 -30
- package/src/components/pages/Podcasts.vue +9 -23
- package/src/components/pages/Search.vue +26 -64
- package/src/sass/_variables.scss +0 -1
- package/src/store/class/general/media.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="
|
|
3
|
+
class="top-bar-dropdown"
|
|
4
4
|
>
|
|
5
5
|
<div
|
|
6
6
|
v-if="authenticated"
|
|
@@ -17,46 +17,37 @@
|
|
|
17
17
|
data-bs-toggle="dropdown"
|
|
18
18
|
aria-expanded="false"
|
|
19
19
|
/>
|
|
20
|
-
<
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</button>
|
|
30
|
-
</router-link>
|
|
31
|
-
</li>
|
|
32
|
-
<li v-if="!isPodcastmaker">
|
|
20
|
+
<div class="dropdown-menu dropdown-menu-right px-4">
|
|
21
|
+
<router-link
|
|
22
|
+
v-if="isContribution && !isPodcastmaker"
|
|
23
|
+
class="btn btn-primary w-100"
|
|
24
|
+
to="/main/priv/upload"
|
|
25
|
+
>
|
|
26
|
+
{{ $t('Upload') }}
|
|
27
|
+
</router-link>
|
|
28
|
+
<template v-if="!isPodcastmaker">
|
|
33
29
|
<router-link
|
|
34
30
|
to="/main/priv/backoffice"
|
|
35
|
-
class="
|
|
31
|
+
class="show-phone dropdown-item"
|
|
36
32
|
>
|
|
37
33
|
{{ $t('My space') }}
|
|
38
34
|
</router-link>
|
|
39
|
-
</li>
|
|
40
|
-
<li v-if="!isPodcastmaker">
|
|
41
35
|
<router-link
|
|
42
36
|
class="dropdown-item"
|
|
43
37
|
to="/main/priv/edit/profile"
|
|
44
38
|
>
|
|
45
39
|
{{ $t('Edit my profile') }}
|
|
46
40
|
</router-link>
|
|
47
|
-
</li>
|
|
48
|
-
<li v-if="!isPodcastmaker && isOrganisation">
|
|
49
41
|
<router-link
|
|
42
|
+
v-if="isOrganisation"
|
|
50
43
|
class="dropdown-item"
|
|
51
44
|
to="/main/priv/edit/organisation"
|
|
52
45
|
>
|
|
53
46
|
{{ $t('Edit my organisation') }}
|
|
54
47
|
</router-link>
|
|
55
|
-
</
|
|
56
|
-
<
|
|
48
|
+
</template>
|
|
49
|
+
<template v-if="!isEducation">
|
|
57
50
|
<hr class="dropdown-divider">
|
|
58
|
-
</li>
|
|
59
|
-
<li v-if="!isEducation">
|
|
60
51
|
<a
|
|
61
52
|
href="https://help.octopus.saooti.com/Aide/"
|
|
62
53
|
class="dropdown-item"
|
|
@@ -65,8 +56,6 @@
|
|
|
65
56
|
>
|
|
66
57
|
{{ $t('Help') }}
|
|
67
58
|
</a>
|
|
68
|
-
</li>
|
|
69
|
-
<li v-if="!isEducation">
|
|
70
59
|
<a
|
|
71
60
|
href="https://help.octopus.saooti.com/"
|
|
72
61
|
class="dropdown-item"
|
|
@@ -75,50 +64,41 @@
|
|
|
75
64
|
>
|
|
76
65
|
{{ $t('TutoMag') }}
|
|
77
66
|
</a>
|
|
78
|
-
|
|
79
|
-
<li><hr class="dropdown-divider"></li>
|
|
80
|
-
<li v-if="!isEducation">
|
|
67
|
+
<hr class="dropdown-divider">
|
|
81
68
|
<a
|
|
82
69
|
class="dropdown-item"
|
|
83
70
|
href="/sso/logout"
|
|
84
71
|
>
|
|
85
72
|
{{ $t('Logout') }}
|
|
86
73
|
</a>
|
|
87
|
-
</
|
|
88
|
-
</
|
|
74
|
+
</template>
|
|
75
|
+
</div>
|
|
89
76
|
</div>
|
|
90
77
|
<div
|
|
91
78
|
v-else
|
|
92
79
|
class="dropdown btn-group"
|
|
93
80
|
>
|
|
94
81
|
<button
|
|
95
|
-
class="btn dropdown-toggle
|
|
82
|
+
class="btn dropdown-toggle m-1 admin-button dropdown-toggle-no-caret saooti-user-octopus"
|
|
96
83
|
data-bs-toggle="dropdown"
|
|
97
84
|
aria-expanded="false"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
>
|
|
116
|
-
{{
|
|
117
|
-
$t('Create an account')
|
|
118
|
-
}}
|
|
119
|
-
</router-link>
|
|
120
|
-
</li>
|
|
121
|
-
</ul>
|
|
85
|
+
aria-label="Profile"
|
|
86
|
+
/>
|
|
87
|
+
<div class="dropdown-menu dropdown-menu-right px-4">
|
|
88
|
+
<a
|
|
89
|
+
class="dropdown-item"
|
|
90
|
+
href="/sso/login"
|
|
91
|
+
>
|
|
92
|
+
{{ $t('Login') }}
|
|
93
|
+
</a>
|
|
94
|
+
<router-link
|
|
95
|
+
v-if="!isPodcastmaker"
|
|
96
|
+
class="dropdown-item"
|
|
97
|
+
to="/main/pub/create"
|
|
98
|
+
>
|
|
99
|
+
{{ $t('Create an account') }}
|
|
100
|
+
</router-link>
|
|
101
|
+
</div>
|
|
122
102
|
</div>
|
|
123
103
|
</div>
|
|
124
104
|
</template>
|
|
@@ -133,12 +113,6 @@ export default defineComponent({
|
|
|
133
113
|
isEducation: { default: false, type: Boolean},
|
|
134
114
|
},
|
|
135
115
|
|
|
136
|
-
data() {
|
|
137
|
-
return {
|
|
138
|
-
showMenu: false as boolean
|
|
139
|
-
};
|
|
140
|
-
},
|
|
141
|
-
|
|
142
116
|
computed: {
|
|
143
117
|
isPodcastmaker(): boolean {
|
|
144
118
|
return (state.generalParameters.podcastmaker as boolean);
|
|
@@ -154,7 +128,6 @@ export default defineComponent({
|
|
|
154
128
|
},
|
|
155
129
|
},
|
|
156
130
|
|
|
157
|
-
|
|
158
131
|
methods: {
|
|
159
132
|
goToUrl(url: string): void {
|
|
160
133
|
if (this.authenticated) {
|
|
@@ -167,19 +140,24 @@ export default defineComponent({
|
|
|
167
140
|
|
|
168
141
|
<style lang="scss">
|
|
169
142
|
.top-bar-dropdown {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
|
|
170
146
|
.main-button-dropdown {
|
|
171
147
|
padding-bottom: 0.4rem;
|
|
172
148
|
width: 140px;
|
|
173
149
|
text-align: left;
|
|
174
150
|
padding-left: 15px;
|
|
175
151
|
margin-right: 30px;
|
|
152
|
+
@media (max-width: 650px) {
|
|
153
|
+
display: none;
|
|
154
|
+
}
|
|
176
155
|
}
|
|
177
156
|
.btn-group .dropdown-toggle-split {
|
|
178
157
|
align-items: center;
|
|
179
|
-
border-radius: 50
|
|
158
|
+
border-radius: 50%;
|
|
180
159
|
width: 40px !important;
|
|
181
160
|
height: 40px !important;
|
|
182
|
-
display: flex;
|
|
183
161
|
justify-content: center;
|
|
184
162
|
position: absolute;
|
|
185
163
|
right: 5px;
|
|
@@ -190,32 +168,5 @@ export default defineComponent({
|
|
|
190
168
|
right: auto;
|
|
191
169
|
}
|
|
192
170
|
}
|
|
193
|
-
.dropdown-header {
|
|
194
|
-
display: flex;
|
|
195
|
-
align-items: center;
|
|
196
|
-
font-weight: bold;
|
|
197
|
-
}
|
|
198
|
-
.linkSpace {
|
|
199
|
-
display: none;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/** PHONES*/
|
|
203
|
-
@media (max-width: 1200px) {
|
|
204
|
-
.linkSpace {
|
|
205
|
-
display: block;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
@media (max-width: 650px) {
|
|
209
|
-
.dropdown {
|
|
210
|
-
.main-button-dropdown {
|
|
211
|
-
display: none;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
.btn-group .dropdown-toggle-split {
|
|
215
|
-
height: 30px;
|
|
216
|
-
width: 30px;
|
|
217
|
-
border-radius: 50% !important;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
171
|
}
|
|
221
172
|
</style>
|
|
@@ -3,114 +3,101 @@
|
|
|
3
3
|
v-show="displayMenu"
|
|
4
4
|
class="left-menu-container"
|
|
5
5
|
>
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
{
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
:to="{
|
|
102
|
-
name: 'category',
|
|
103
|
-
params: { iabId: category.id },
|
|
104
|
-
query: { productor: $store.state.filter.organisationId },
|
|
105
|
-
}"
|
|
106
|
-
@click="onMenuClick"
|
|
107
|
-
>
|
|
108
|
-
{{ category.name }}
|
|
109
|
-
</router-link>
|
|
110
|
-
<div class="d-flex hostedBy">
|
|
111
|
-
<span>{{ $t('Hosted by') }}</span><span class="ms-1 me-1 primary-color">Saooti</span>
|
|
112
|
-
</div>
|
|
113
|
-
</div>
|
|
6
|
+
<router-link
|
|
7
|
+
class="show-phone"
|
|
8
|
+
:to="{
|
|
9
|
+
name: 'home',
|
|
10
|
+
query: { productor: $store.state.filter.organisationId,
|
|
11
|
+
iabId: $store.state.filter.iab ? $store.state.filter.iab.id : undefined,
|
|
12
|
+
rubriquesId: rubriqueQueryParam},
|
|
13
|
+
}"
|
|
14
|
+
@click="onMenuClick"
|
|
15
|
+
>
|
|
16
|
+
{{ $t('Home') }}
|
|
17
|
+
</router-link>
|
|
18
|
+
<router-link
|
|
19
|
+
v-if="isLiveTab && filterOrga && filterOrgaLive"
|
|
20
|
+
:to="{
|
|
21
|
+
name: 'lives',
|
|
22
|
+
query: { productor: $store.state.filter.organisationId},
|
|
23
|
+
}"
|
|
24
|
+
@click="onMenuClick"
|
|
25
|
+
>
|
|
26
|
+
{{ $t('Live') }}
|
|
27
|
+
</router-link>
|
|
28
|
+
<router-link
|
|
29
|
+
:to="{
|
|
30
|
+
name: 'podcasts',
|
|
31
|
+
query: { productor: $store.state.filter.organisationId,
|
|
32
|
+
iabId: $store.state.filter.iab ? $store.state.filter.iab.id : undefined,
|
|
33
|
+
rubriquesId: rubriqueQueryParam},
|
|
34
|
+
}"
|
|
35
|
+
@click="onMenuClick"
|
|
36
|
+
>
|
|
37
|
+
{{ $t('Podcasts') }}
|
|
38
|
+
</router-link>
|
|
39
|
+
<router-link
|
|
40
|
+
:to="{
|
|
41
|
+
name: 'emissions',
|
|
42
|
+
query: { productor: $store.state.filter.organisationId,
|
|
43
|
+
iabId: $store.state.filter.iab ? $store.state.filter.iab.id : undefined ,
|
|
44
|
+
rubriquesId: rubriqueQueryParam},
|
|
45
|
+
}"
|
|
46
|
+
@click="onMenuClick"
|
|
47
|
+
>
|
|
48
|
+
{{ $t('Emissions') }}
|
|
49
|
+
</router-link>
|
|
50
|
+
<router-link
|
|
51
|
+
v-if="!isPodcastmaker && (!filterOrga || isEducation)"
|
|
52
|
+
:to="{
|
|
53
|
+
name: 'productors',
|
|
54
|
+
query: { productor: $store.state.filter.organisationId },
|
|
55
|
+
}"
|
|
56
|
+
@click="onMenuClick"
|
|
57
|
+
>
|
|
58
|
+
{{ $t('Productors') }}
|
|
59
|
+
</router-link>
|
|
60
|
+
<router-link
|
|
61
|
+
:to="{
|
|
62
|
+
name: 'participants',
|
|
63
|
+
query: { productor: $store.state.filter.organisationId },
|
|
64
|
+
}"
|
|
65
|
+
@click="onMenuClick"
|
|
66
|
+
>
|
|
67
|
+
{{ $t('Speakers') }}
|
|
68
|
+
</router-link>
|
|
69
|
+
<router-link
|
|
70
|
+
:to="{
|
|
71
|
+
name: 'playlists',
|
|
72
|
+
query: { productor: $store.state.filter.organisationId },
|
|
73
|
+
}"
|
|
74
|
+
@click="onMenuClick"
|
|
75
|
+
>
|
|
76
|
+
{{ $t('Playlists') }}
|
|
77
|
+
</router-link>
|
|
78
|
+
<OrganisationChooserLight
|
|
79
|
+
v-if="!isPodcastmaker"
|
|
80
|
+
width="auto"
|
|
81
|
+
page="leftMenu"
|
|
82
|
+
:defaultanswer="$t('No organisation filter')"
|
|
83
|
+
:value="organisationId"
|
|
84
|
+
:reset="reset"
|
|
85
|
+
@selected="onOrganisationSelected"
|
|
86
|
+
/>
|
|
87
|
+
<hr class="show-phone">
|
|
88
|
+
<router-link
|
|
89
|
+
v-for="category in categories"
|
|
90
|
+
:key="category.id"
|
|
91
|
+
class="show-phone"
|
|
92
|
+
:to="{
|
|
93
|
+
name: 'category',
|
|
94
|
+
params: { iabId: category.id },
|
|
95
|
+
query: { productor: $store.state.filter.organisationId },
|
|
96
|
+
}"
|
|
97
|
+
@click="onMenuClick"
|
|
98
|
+
>
|
|
99
|
+
{{ category.name }}
|
|
100
|
+
</router-link>
|
|
114
101
|
</div>
|
|
115
102
|
</template>
|
|
116
103
|
|
|
@@ -217,46 +204,25 @@ export default defineComponent({
|
|
|
217
204
|
background: #fff;
|
|
218
205
|
width: 20%;
|
|
219
206
|
padding: 2rem;
|
|
207
|
+
display: flex;
|
|
208
|
+
flex-direction: column;
|
|
209
|
+
font-size: 0.9rem;
|
|
220
210
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
211
|
+
a{
|
|
212
|
+
color: black !important;
|
|
213
|
+
font-weight: bold;
|
|
214
|
+
margin-bottom: 1rem;
|
|
225
215
|
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
position: absolute;
|
|
229
|
-
bottom: 10px;
|
|
230
|
-
right: 0;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
/** PHONES*/
|
|
234
|
-
@media (max-width: 960px) {
|
|
235
|
-
.left-menu-container {
|
|
216
|
+
/** PHONES*/
|
|
217
|
+
@media (max-width: 960px) {
|
|
236
218
|
width: 75%;
|
|
237
219
|
max-height: 80%;
|
|
238
|
-
left: 0.5rem;
|
|
239
220
|
top: 2.5rem;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
border-radius: 0.5rem;
|
|
243
|
-
box-shadow: 0 0.2rem 1rem rgba(79, 83, 90, 0.3);
|
|
244
|
-
|
|
245
|
-
.routes-container {
|
|
246
|
-
overflow-y: scroll;
|
|
247
|
-
height: 100%;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
.divided-line {
|
|
251
|
-
margin: 0.5rem 0;
|
|
252
|
-
border-top: 1px solid lightgray;
|
|
221
|
+
overflow-y: auto;
|
|
222
|
+
height: 100%;
|
|
253
223
|
}
|
|
254
|
-
|
|
255
|
-
@media (max-width: 450px) {
|
|
256
|
-
.left-menu-container {
|
|
224
|
+
@media (max-width: 450px) {
|
|
257
225
|
width: 94%;
|
|
258
|
-
font-size: 0.3rem;
|
|
259
|
-
padding: 2rem 0 1.5rem 1rem;
|
|
260
226
|
}
|
|
261
227
|
}
|
|
262
228
|
</style>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
>
|
|
11
11
|
<div
|
|
12
12
|
v-if="isBarTop"
|
|
13
|
-
class="progress
|
|
13
|
+
class="progress c-hand"
|
|
14
14
|
@mouseup="seekTo"
|
|
15
15
|
>
|
|
16
16
|
<div
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
</div>
|
|
26
26
|
<div
|
|
27
27
|
v-if="display"
|
|
28
|
-
class="d-flex align-items-center
|
|
28
|
+
class="d-flex align-items-center flex-grow-1 px-5"
|
|
29
29
|
>
|
|
30
30
|
<audio
|
|
31
31
|
v-if="!live"
|
|
32
32
|
id="audio-player"
|
|
33
|
-
:src="audioUrl"
|
|
33
|
+
:src="!live? audioUrl: undefined"
|
|
34
34
|
autoplay
|
|
35
35
|
@timeupdate="onTimeUpdate"
|
|
36
36
|
@ended="onFinished"
|
|
@@ -38,16 +38,6 @@
|
|
|
38
38
|
@durationChange="onTimeUpdate"
|
|
39
39
|
@error="onError"
|
|
40
40
|
/>
|
|
41
|
-
<audio
|
|
42
|
-
v-else
|
|
43
|
-
id="audio-player"
|
|
44
|
-
src
|
|
45
|
-
@timeupdate="onTimeUpdate"
|
|
46
|
-
@ended="onFinished"
|
|
47
|
-
@playing="onPlay"
|
|
48
|
-
@durationChange="onTimeUpdate"
|
|
49
|
-
@error="onError"
|
|
50
|
-
/>
|
|
51
41
|
<PlayerButtons
|
|
52
42
|
:player-error="playerError"
|
|
53
43
|
/>
|
|
@@ -135,7 +125,7 @@ export default defineComponent({
|
|
|
135
125
|
},
|
|
136
126
|
}),
|
|
137
127
|
audioUrl(): string {
|
|
138
|
-
if (this.media) return this.media.audioUrl;
|
|
128
|
+
if (this.media) return this.media.audioUrl? this.media.audioUrl:"";
|
|
139
129
|
if (!this.podcast) return '';
|
|
140
130
|
if (!this.podcast.availability.visibility)
|
|
141
131
|
return this.podcast.audioStorageUrl;
|
|
@@ -163,11 +153,11 @@ export default defineComponent({
|
|
|
163
153
|
live: {
|
|
164
154
|
deep: true,
|
|
165
155
|
async handler(){
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
156
|
+
this.hlsReady = false;
|
|
157
|
+
this.setDownloadId(null);
|
|
158
|
+
this.listenError = false;
|
|
159
|
+
await this.playLive();
|
|
160
|
+
this.initComments();
|
|
171
161
|
}
|
|
172
162
|
},
|
|
173
163
|
playerHeight(): void {
|
|
@@ -176,9 +166,9 @@ export default defineComponent({
|
|
|
176
166
|
podcast: {
|
|
177
167
|
deep: true,
|
|
178
168
|
handler(){
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
169
|
+
this.setDownloadId(null);
|
|
170
|
+
this.listenError = false;
|
|
171
|
+
this.initComments();
|
|
182
172
|
}
|
|
183
173
|
},
|
|
184
174
|
async listenTime(newVal): Promise<void> {
|
|
@@ -479,7 +469,6 @@ export default defineComponent({
|
|
|
479
469
|
flex-direction: column;
|
|
480
470
|
transition: height 1s;
|
|
481
471
|
background: #282828 !important;
|
|
482
|
-
max-width: 100%;
|
|
483
472
|
font-size: 1rem;
|
|
484
473
|
|
|
485
474
|
.player-progress-border {
|
|
@@ -487,13 +476,10 @@ export default defineComponent({
|
|
|
487
476
|
width: 3px;
|
|
488
477
|
background: black;
|
|
489
478
|
}
|
|
490
|
-
|
|
491
|
-
@media (max-width: 960px) {
|
|
492
|
-
.player-container {
|
|
479
|
+
|
|
480
|
+
@media (max-width: 960px) {
|
|
493
481
|
.d-flex {
|
|
494
|
-
|
|
495
|
-
flex-wrap: nowrap !important;
|
|
496
|
-
}
|
|
482
|
+
flex-wrap: nowrap !important;
|
|
497
483
|
}
|
|
498
484
|
}
|
|
499
485
|
}
|