in a <video> tag, how can I know the currently played source URL with JQuery if there are many sources (different codec)?
I tried with the src property, but it’s empty.
Thanks!
Pv
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The latest version of the HTML5 spec gives the currentSrc property for this purpose. I’m not sure if all browsers support this.