Plyr video LoadingState

How do I get Loading State to work?

Check if the video is loading then show a loading indicator or something else and if not then hide that indicator. Its dead simple