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

[nativescript-youtubeplayer] Unexpected rendering #185

Open
1 task
EdJones opened this issue Nov 9, 2023 · 0 comments
Open
1 task

[nativescript-youtubeplayer] Unexpected rendering #185

EdJones opened this issue Nov 9, 2023 · 0 comments

Comments

@EdJones
Copy link

EdJones commented Nov 9, 2023

Player will not (at least in Angular or Vue) display, unless a height or minHeight attribute is specified. #45

  • At the very least, this should be stated in the docs.

But, is there a better way to handle this in code?


Also, in some layouts, player appears to render as a black, unresponsive background. (See also #90). (iOS hardware device: displays OK on both simulators.)

When phone is rotated, it shows the too-wide frame, with the video properly rendered on the left and the black background on the right. When phone is rotated back, video displays as intended.
Successive rotations to landscape may show either the narrow player with black on the right, or the player fully stretch horizontally (and maintaining the height.)

On app start:

IMG_2105

On phone rotation:

IMG_2108

On rotation back (intender rendering) :

IMG_2107

(Sometimes) on 2nd or nth rotation back to landscape:

IMG_2106

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