Load events for displaying my own spinner icon when video is loading

Hello,
Is there a way to access the loading/buffering event when the spinner is being shown? I want to implement my own spinner and will have to listen to the load/buffer event in order to show it. How should I go about this? Thanks!