Feed videos "flash" when scrolling to them
gannonprudhomme opened this issue · comments
Gannon Prudhomme commented
It takes time(< 1 sec) to create & assign the video to AVPlayerLayer, so it shows the background for a second.
This is due to reusing the cells, as I have to remove the AVPlayerLayer from the view or the layers stack up on each other, resulting in visual bugs.
This might be fixed by adding a preview image upon initialization. Then the AVPlayerLayer could be placed above it once loaded