Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zooming not working once the video starts #335

Open
palashkulsh opened this issue Apr 19, 2024 · 0 comments
Open

Zooming not working once the video starts #335

palashkulsh opened this issue Apr 19, 2024 · 0 comments

Comments

@palashkulsh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant