Skip to content

Commit

Permalink
Merge pull request #130 from vlitejs/fix/youtube-origin
Browse files Browse the repository at this point in the history
Add Youtube origin parameter
  • Loading branch information
yoriiis committed Apr 2, 2024
2 parents ec8d93f + 3b011be commit c4bfe5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/youtube/youtube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default function YoutubeProvider(Player: any) {
height: '100%',
width: '100%',
playerVars: this.params,
origin: window.location.origin,
events: {
onReady: (data: any) => {
this.media = data.target.getIframe()
Expand Down

0 comments on commit c4bfe5b

Please sign in to comment.