Skip to content

Commit 24730ec

Browse files
committed
fix minor typo in import
1 parent 7b57a0f commit 24730ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/YoutubeIframe.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ import React, {
55
useImperativeHandle,
66
forwardRef,
77
useState,
8-
Platform,
98
} from 'react';
10-
import {View, StyleSheet} from 'react-native';
9+
import {View, StyleSheet, Platform} from 'react-native';
1110
import WebView from 'react-native-webview';
1211
import {PLAYER_STATES, PLAYER_ERROR} from './constants';
1312
import {EventEmitter} from 'events';
@@ -29,7 +28,7 @@ const YoutubeIframe = (
2928
onReady = _event => {},
3029
playListStartIndex = 0,
3130
initialPlayerParams = {},
32-
forceAndroidAutoplay = true,
31+
forceAndroidAutoplay = false,
3332
onChangeState = _event => {},
3433
onPlaybackQualityChange = _quality => {},
3534
onPlaybackRateChange = _playbackRate => {},

0 commit comments

Comments
 (0)