I'm retrieving my video source using ajax. All works fine unless I try to retrieve and play the same video twice.
http://jsfiddle.net/w3JPB/3/
You will notice that the second time you click "add" video.js doesn't work and the plain default html5 video player is shown.
It seems like I need to destroy the old video object but method described here gives me an error saying "object has no method destroy".
_V_('video1').destroy()
Latest video.js version exposes dispose
method instead. Check your updated example. Working fine for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With