react-native-youtube-iframe icon indicating copy to clipboard operation
react-native-youtube-iframe copied to clipboard

Zooming not working once the video starts

Open palashkulsh opened this issue 1 year ago • 0 comments

Describe the bug Even when allowWebViewZoom is present, the zooming doesn't work once the video has started.

To Reproduce

            <View >
                <YoutubePlayer
                    ref={playerRef}
                    height={isFullScreen ? height : 200}
                    width={isFullScreen ? width : '100%'}
                    videoId={videoId}
                    play={true}
		    allowWebViewZoom={true}
                    onChangeState={(event) => console.log(event)}
                    //onFullScreenChange={handleFullScreenChange}
                />
            </View>

Expected behavior zoom should work even when the video is running

Screenshots not applicable

Smartphone (please complete the following information):

  • Device: [Redmi 8A dual]
  • OS + version: [Android 10]
  • react-native-youtube-iframe version 2.3.0
  • react-native-webview version 13.8.6
  • Expo verison [if using expo] - no expo

Additional context none

palashkulsh avatar Apr 19 '24 17:04 palashkulsh