[HTML]: Video tag with authentication

I need to play a video stream with HTTP auhtentication in a HTML page, like that:

<video src="username:password@path/to/video">
  <p>Your browser does not support the video tag.</p>
</video> 

My problem is that the credentials appears in HTML code. Anyone have an idea to hide it ?



Read more here: https://stackoverflow.com/questions/64388934/html-video-tag-with-authentication

Content Attribution

This content was originally published by BCedric at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: