See the blog post for more information here: https://dolby.io/blog/building-a-universal-framework-agnostic-media-comparison-web-component/
dolbyio-samples/media-enhance-toggle-player-web-component
A framework-agnostic web component to compare original and enhanced media
JavaScript