Closed choozn closed 8 months ago
@choozn can you share your complète code on github
I've published a project on github to reproduce the bug: https://github.com/choozn/bug-showcase-capacitor-video-player
@choozn the componentTag must be the tag including <div id="player"></div>
in your example it must be componentTag: "body"
and this will work the best way would be to include the <div id="player"></div>
inside a <div>...</div> and it will work. In your case do not forget to change in the
capacitor.config.tsfile the webDir: 'public'
and it will work. Thank for using the plugin
`
The player is not initialized despite returning a success object and preloading the content. I've tried the library in both svelte and astro. Same behavior for both.
Expected Behavior
The player should be initialized as specified in the docs.
Current Behavior
A success object is returned, but the player is not initialized. Using the
fullscreen
mode, the sound of the video is played but no player is visible. A fullscreen request is denied. Using theembedded
mode, nothing happens besides preloading the content and returning the success object.Steps to Reproduce
Context (Environment)