소스 검색

:recycle: default to large yt thumb | deleted some commented out code

tags/0.9.0
j 4 년 전
부모
커밋
0292ce7695
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3
    2
      vue-theme/src/components/hero.vue

+ 3
- 2
vue-theme/src/components/hero.vue 파일 보기

11
             .hero--image--overlay.w-max.f-col
11
             .hero--image--overlay.w-max.f-col
12
                 h2.t-up.t-cntr(v-if="heroText") {{ heroText }}
12
                 h2.t-up.t-cntr(v-if="heroText") {{ heroText }}
13
             img.w-max(:src="getThumbnailFromYt(showHero)" alt="hero alt image")
13
             img.w-max(:src="getThumbnailFromYt(showHero)" alt="hero alt image")
14
-            //- button(v-if="showPlaybutton" @click="isPlaying = true") play
15
             button(v-if="showPlaybutton" @click="isPlaying = true")
14
             button(v-if="showPlaybutton" @click="isPlaying = true")
15
+
16
     .hero--image.w-max(v-else-if="heroType === 'image'")
16
     .hero--image.w-max(v-else-if="heroType === 'image'")
17
         .hero--image--overlay.w-max.f-col
17
         .hero--image--overlay.w-max.f-col
18
             h2.t-up.t-cntr(v-html="heroText")
18
             h2.t-up.t-cntr(v-html="heroText")
19
         img.w-max(:src="showHero" alt="hero alt image")
19
         img.w-max(:src="showHero" alt="hero alt image")
20
+
20
     .hero--image(v-else)
21
     .hero--image(v-else)
21
         .hero--image--overlay.w-max.f-col
22
         .hero--image--overlay.w-max.f-col
22
             div(v-html="heroText")
23
             div(v-html="heroText")
52
             this.heroHeight = this.$el.offsetWidth / 1.8
53
             this.heroHeight = this.$el.offsetWidth / 1.8
53
         },
54
         },
54
         getThumbnailFromYt(url) {
55
         getThumbnailFromYt(url) {
55
-            return ytThumbnail(url, 'max')
56
+            return ytThumbnail(url, 'large')
56
         }
57
         }
57
     },
58
     },
58
     mounted() {
59
     mounted() {

Loading…
취소
저장