Example

YouTube Video Play And pause Animation

YouTube Video Play And pause Animation When Video Playing Best UX

HTML Example

CSS Example

Javascript Example