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

[BUG]: Unable to open full screen #215

Open
phazei opened this issue Jan 16, 2025 · 2 comments
Open

[BUG]: Unable to open full screen #215

phazei opened this issue Jan 16, 2025 · 2 comments
Labels

Comments

@phazei
Copy link

phazei commented Jan 16, 2025

Version

0.15

What platforms are you having the problem on?

Android

System Version

Android 15

On what device are you experiencing the issue?

Simulator

Architecture

New architecture

What happened?

I'm switching from react-native-video to this library. It says it supports the entire react-native-video API. I tried to use:
videoPlayerRef.current?.setFullScreen(true)
and it gives the error:
ERROR [TypeError: _videoPlayerRef$curre.setFullScreen is not a function (it is undefined)]

Reproduction Link

repository link

Reproduction

I'm switching from react-native-video to this library. It says it supports the entire react-native-video API. I tried to use:
videoPlayerRef.current?.setFullScreen(true)
and it gives the error:
ERROR [TypeError: _videoPlayerRef$curre.setFullScreen is not a function (it is undefined)]

@phazei phazei added the bug label Jan 16, 2025
Copy link
Contributor

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • version
  • what happened?
  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

There is a newer version of the library available. You are using version 0.15, while the latest stable version is 6.9.1. Please update to the latest version and check if the issue still exists.

Note: If the issue still exists, please update the issue report with the latest information.

@phazei
Copy link
Author

phazei commented Jan 16, 2025

bad bot, version and what happened is there. And 0.15 is the latest version of this. We also have the latest react-native-video installed.

import VideoPlayer from 'react-native-video-player'


tsx:
            <VideoPlayer
                ref={videoPlayerRef}

Although, typing seems to be broken since the project isn't able to detect VideoPlayer, but I commented on another ticket about that.

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

No branches or pull requests

1 participant