Use the readystate property to check if the video loaded before the canplaythrough event fires. Solves an issue I found where videoLoaded never gets set to true in some instances in local development, because the canplaythrough event was not getting captured by Vue.
Awesome, I was wanting to do something for video like I did for images in 35181dd900828b5f4823e30b8da23b431dd9f74f but didn't think of that readystate check. 👍
Use the readystate property to check if the video loaded before the canplaythrough event fires. Solves an issue I found where
videoLoaded
never gets set to true in some instances in local development, because thecanplaythrough
event was not getting captured by Vue.