Lighthouse is a Google maintained open-source, automated tool for improving the quality of web pages. It has audits for performance, accessibility, progressive web apps, and more.
Lighthouse can be run directly in Google Chrome through Chrome DevTools under the Audits tab.
In this guide we will review how to score high at Lighthouse audit tool when using Radiant Media Player. Displaying media content in a web-page, especially video with advanced features, can be taxing for the device CPU, battery or network. So, making sure your web-page is optimised for better performance is essential to keep your viewers happy. Note that the Lighthouse audit tool is not the absolute metric for quantifying the quality or performance of web pages. This should provide hints for specific area of your web-pages that may need to be reviewed. Some aspects of a web page performance cannot be tested automatically and require manual testing as well. Other audit tools exist on the market and scoring high at a specific tool does not mean those other tools will also present elevated scores.
To run our tests we have set-up a blank HTML page with some text and a common Radiant Media Player configuration for on-demand HLS streaming with media preloading enabled. We will only evaluate how Radiant Media Player reacts to Google Lighthouse audit tool for the following items: Performance, Accessibility, Best Practices, SEO. We will not cover the subject of Progressive Web App in this guide as it requires more advanced tuning like offline handling. For real-world use-cases your web-page will be loaded with texts, images, and other elements that may also need optimisation for Google Lighthouse audit tool.
In a nutshell this is what we did:
The full set-up can be reviewed here (view source page for player code).
Here are the results:
Again, this is just a simple set-up to show how Radiant Media Player can be used to score high at Google Lighthouse audit tool. Optimising a fully-fledged web page is going to require more work, but with this guide, Radiant Media Player is definitely not going to prevent your score from sky-rocketing.
©2015-2023 Radiant Media Player. All Rights Reserved.