Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/firstrunwizard.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-12-19 13:33:50 +0300
committerJulius Härtl <jus@bitgrid.net>2019-12-19 13:33:50 +0300
commitaf389fdca40276fc628450a76cbe8a7a1bf7771c (patch)
treee6261fe5eedba30880d0501f3da5575af0f9aab3 /src
parent16ea826d6c8c3c37332c5ef341f4fb2fa46011d7 (diff)
Always show the video
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src')
-rw-r--r--src/App.vue4
-rw-r--r--src/components/IntroVideo.vue4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/App.vue b/src/App.vue
index 6c6cf91a..21e6b8a7 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -364,7 +364,7 @@ export default {
data() {
return {
showModal: false,
- withIntro: false,
+ withIntro: true,
hasVideo,
slides: [],
currentSlide: 0,
@@ -416,7 +416,7 @@ export default {
console.error('Failed to load slides')
}
},
- async open(withIntro = false) {
+ async open(withIntro = true) {
await this.loadStaticSlides()
this.withIntro = withIntro
this.showModal = true
diff --git a/src/components/IntroVideo.vue b/src/components/IntroVideo.vue
index 554a5f2a..4c34f0d0 100644
--- a/src/components/IntroVideo.vue
+++ b/src/components/IntroVideo.vue
@@ -33,13 +33,13 @@
</template>
<script>
-import { generateFilePath, generateRemoteUrl } from '@nextcloud/router'
+import { generateFilePath } from '@nextcloud/router'
export default {
name: 'IntroVideo',
data() {
return {
- videoMp4: generateRemoteUrl('webdav') + 'Nextcloud%20intro.mp4',
+ videoMp4: generateFilePath('firstrunwizard', 'img', 'Nextcloud.mp4'),
videoWebm: generateFilePath('firstrunwizard', 'img', 'Nextcloud.webm'),
}
},