Skip to content

Commit

Permalink
fix: fixed timecodes
Browse files Browse the repository at this point in the history
  • Loading branch information
pixkk committed Jan 17, 2025
1 parent ce29ae5 commit e9995a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NUXT/plugins/renderers.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class rendererUtils {
if (base.navigationEndpoint.browseEndpoint) {
return base.navigationEndpoint.browseEndpoint.browseId; //for now
}
else if (base.navigationEndpoint.watchEndpoint){
return `/watch?v=${base.navigationEndpoint.watchEndpoint.videoId}&t=${base.navigationEndpoint.watchEndpoint.startTimeSeconds}`; //for now
}
} else if (base.searchEndpoint) {
return `/search?q=${encodeURI(base.searchEndpoint.query)}`;
}
Expand Down

0 comments on commit e9995a9

Please sign in to comment.