Skip to content

Commit

Permalink
Merge branch 'develop' into mv3-fr
Browse files Browse the repository at this point in the history
  • Loading branch information
KentoNishi committed Jun 1, 2024
2 parents 08c926d + c06bd97 commit e08c8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const constructParams = (embedVideoId = '') => {
params.delete('frameid');
v = embedVideoId;
} else {
v = params.get('v') ?? (new URLSearchParams(window.parent.location.search).get('v'));
v = params.get('v') ?? (new URLSearchParams(window.parent.location.search).get('v')) ?? (window.parent.location.pathname.split('/')[2]);
}
params.set('ytVideo', v);
if (window.location.pathname.includes('live_chat_replay')) {
Expand Down

0 comments on commit e08c8a1

Please sign in to comment.