I\'m trying to load a mp4 video stream from Django to Vue.js. I followed the solution here and got a byte string via my axios API which I concatenated to data:video/mp
The final solution needed to stream videos to Vue.js if you're using the same component for videos is to set the src
tag using v-html
so that you can set src
dynamically. Directly doing src="http://localhost:8000/v/video.mp4"
won't work once the component is created. So in addition to Kevin's code, just do the following in the video component: