triniwiz / triniwiz/nativescript-plugins
[nativescript-youtubeplayer] Unexpected rendering
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 87
- Forks
- 57
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 4
Description
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:
On phone rotation:
On rotation back (intender rendering) :
(Sometimes) on 2nd or nth rotation back to landscape:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the nativescript-youtubeplayer behavior in Angular or Vue on an iOS hardware device, including initial rendering and repeated rotation. Inspect the plugin's rendering and layout handling, then verify both the missing-height behavior and the black or incorrectly sized frame are resolved; the documentation requirement should also be addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, ios
- Domain
- frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100