[RNMobile][FIX] Cover block background when there's a video is totally black#21508
[RNMobile][FIX] Cover block background when there's a video is totally black#21508
Conversation
|
Size Change: 0 B Total Size: 904 kB ℹ️ View Unchanged
|
|
hey @mkevins could you review this one? |
Yes 👍 |
|
Hi @dratwas 👋 😃 This looks good from a code perspective. For some reason, I see slightly darker colors in dark mode compared to the placeholder:
Is this expected / do you see the same? Other than that, it's working as expected. 👍 |
Hey @mkevins , it is the same for the image. This is darker because of the overlay that is set to 50%. We could hide the overlay while the video/image is loading as well. WDYT? |
mkevins
left a comment
There was a problem hiding this comment.
Hey @mkevins , it is the same for the image. This is darker because of the overlay that is set to 50%. We could hide the overlay while the video/image is loading as well. WDYT?
Ah, that makes sense! Since it's the same for image, I think it is good the way it is (especially since the loading background color was not considered an issue for image). Nice work! ![]()


Description
Fixes wordpress-mobile/gutenberg-mobile#2104
Gutenberg-mobile PR - wordpress-mobile/gutenberg-mobile#2146
The Video component from
react-native-videohas a black background on Android even if i set thebackgroundColorin style. In this PR I hide the Video component until the video is loaded.How has this been tested?
Screenshots
Types of changes
Fix black background while the video is loading
Checklist: