How do you change video src using jQuery?

Try $("#divVideo video")[0].load(); after you changed the src attribute.


I would rather make it like this

<video  id="v1" width="320" height="240" controls="controls">

</video>

and then use

$("#v1").html('<source src="test1.mp4" type="video/mp4"></source>' );