This week I worked on two improvements across app.heygen.com: a unified video player and better LCP performance.
The old player had two major limitations. Its UI used native DOM elements, which made integration with heygen-design difficult and left it visually inconsistent with the rest of the product.
Its API and implementation were also inflexible, so even simple changes, like customizing a control or adding a new one, could be difficult for product teams.
While helping the Video Translator team update the player in the Proofread editor, I built a new player instead of continuing to extend the old one. It has a more flexible architecture and better integration with our design system.
Before rolling it out more broadly, we ran an experiment to make sure there were no regressions.
The results were better than expected. We saw improvements not only in playback-related metrics, but also in other areas, including paid conversion.
After the initial release, I worked closely with our designer to polish the player UI and interactions, especially the animations around keyboard interactions. We kept the overall layout mostly unchanged and focused on the details.
A more substantial layout redesign from the design team is coming next, and we plan to roll it out in a future iteration.
Based on the experiment results, I expanded the migration across app.heygen.com. I replaced all remaining V1 players and migrated several custom implementations, including older component-library versions that predated heygen-design.
At this point, the migration is complete. We now have one unified video player across the codebase.
The second improvement is performance optimization, specifically LCP across app.heygen.com. On the Videos page, removing the old player revealed several other opportunities to improve loading performance, so I addressed those at the same time.
Here is the before-and-after comparison for the Videos page. You can see the improvement in LCP performance after the changes.
I also worked on performance improvements for other pages in our Movio package. This included optimizations for the Projects page, along with several improvements that can benefit pages more generally.
Here is another before-and-after comparison.
There is still more work to do, and I’m continuing to optimize these pages. Hopefully, we’ll soon see more of those red backgrounds on our performance dashboard turn yellow.
Those are the two things I wanted to share this week: a unified video player and better LCP performance across the app. Thanks!