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

Fullscreen mode is bugged with Arc browser #175

Open
M-Mahmoud-Abuelmaati opened this issue Nov 20, 2024 · 1 comment
Open

Fullscreen mode is bugged with Arc browser #175

M-Mahmoud-Abuelmaati opened this issue Nov 20, 2024 · 1 comment

Comments

@M-Mahmoud-Abuelmaati
Copy link

M-Mahmoud-Abuelmaati commented Nov 20, 2024

Hi, Fullscreen mode works perfectly in chrome. however I'm using Arc. I noticed whenever I open a video with the following code. Video shows as nearly 70%. Arc has a left side bar displayed˛

image
const initPlayer = async () => {
      try {
        await CapacitorVideoPlayer.initPlayer({
          mode: 'fullscreen',
          url,
          playerId: 'fullscreen',
          componentTag: 'div',
          chromecast: false,
        })

        exitListener = CapacitorVideoPlayer.addListener(
          'jeepCapVideoPlayerExit',
          () => onClose?.()
        )
      } catch (error) {
        console.error('Error initializing video player:', error)
        onClose?.()
      }
    }

    initPlayer()

    return () => {
      CapacitorVideoPlayer.stopAllPlayers()
      exitListener?.remove()
    }
  }, [])
@eduardoRoth
Copy link
Contributor

@M-Mahmoud-Abuelmaati I created the Media Player plugin that improves the functionality of the media player. Can you try it and let me know if it fixes this issue?

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

2 participants