Videos demand more resources than simpler UI elements like text and photos, and are at greater risk of dropping frames, which can cause a jittery experience for users. There are also several variations of video story types shared within News Feed, from video that’s shared as an attachment to a regular post, like a Facebook Live or 360 video, to those that play a generated video, a sponsored message, or a short animation. These challenges are only intensified by the broad range of Android devices on the market. To tackle this, we
recently migrated News Feed on Android to be powered by Litho, our open source UI rendering framework. The new Litho video component has provided tremendous benefits, helping optimize News Feed to render video content more efficiently and providing a more flexible design that can be easily reused for various video features that other teams are working on.