|
@@ -181,7 +181,7 @@ const NEUTRAL_STATE = "NEUTRAL_STATE";
|
|
|
function getVideoId(url) {
|
|
|
const urlObject = new URL(url);
|
|
|
const pathname = urlObject.pathname;
|
|
|
- if (pathname.startsWith("/clips")) {
|
|
|
+ if (pathname.startsWith("/clip")) {
|
|
|
return document.querySelector("meta[itemprop='videoId']").content;
|
|
|
} else {
|
|
|
return urlObject.searchParams.get("v");
|