Skip to content

Commit

Permalink
fix: fixed video length text
Browse files Browse the repository at this point in the history
  • Loading branch information
pixkk committed Aug 22, 2024
1 parent cda8d5a commit 2b85a89
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions NUXT/components/gridRenderers/videoWithContextRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ export default {
computed: {
thumbnailOverlayText() {
this.video.thumbnailOverlays.forEach((thumbnail) => {
if (thumbnail.thumbnailOverlayTimeStatusRenderer) {
return thumbnail.thumbnailOverlayTimeStatusRenderer.text.runs[0].text;
}
});
return "";
// console.warn(this.video)
return this.video.lengthText.runs[0].text;
// return "";
},
thumbnailOverlayStyle() {
this.video.thumbnailOverlays.forEach((thumbnail) => {
Expand Down

0 comments on commit 2b85a89

Please sign in to comment.