Skip to content

Commit

Permalink
Fix session record
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo930021 committed Dec 9, 2023
1 parent a137bba commit df222fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/session/logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export function generateSessionPopupContentHtml (session: Session, community: {
<div class="record-wrapper">
<iframe
class="record"
src="https://www.youtube-nocookie.com/embed/${session.record.split('?v=').pop()}"
src="https://www.youtube-nocookie.com/embed/${session.record.split('/').pop()}"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
Expand Down

0 comments on commit df222fb

Please sign in to comment.