Skip to content

[nativescript-youtubeplayer] Unexpected rendering #185

@EdJones

Description

@EdJones

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions