Skip to content

Commit 736618c

Browse files
Fixes youtube player playsinline variable type (#989)
1 parent 90d19ed commit 736618c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/players/YouTube.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default class YouTube extends Component {
5656
start: parseStartTime(url),
5757
end: parseEndTime(url),
5858
origin: window.location.origin,
59-
playsinline: playsinline,
59+
playsinline: playsinline ? 1 : 0,
6060
...this.parsePlaylist(url),
6161
...playerVars
6262
},

0 commit comments

Comments
 (0)