Skip to content

Commit 831d9dd

Browse files
Merge pull request #146 from StackOverflowIsBetterThanAnyAI/145-explicitely-set-parent-option
parent: [window.location.hostname]
2 parents bc072c3 + 89f598e commit 831d9dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/streamFeed/StreamPlayer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const StreamPlayer: React.FC<StreamPlayerProps> = ({ channel }) => {
3838
height,
3939
channel,
4040
muted: true,
41+
parent: [window.location.hostname],
4142
}
4243
playerRef.current = new (window as any).Twitch.Player(
4344
containerRef.current,

0 commit comments

Comments
 (0)