I'm using video.js in my project. What I'm trying to do is hide the video source from the html tag.
I've tried to set up the src from js code as following:
var videoPlayer = videojs("videoPlayerLive", {
"controls": true,
"autoplay": false,
"preload": "none",
});
videoPlayer.src('some url');
Still I can find the src in the video tag if I check the video player element from Chrome. (From Chrome, right click the video player and select Inspect, I can find the html element with the src there.)
Does anybody know how to hide this src attribute from the html?
Any suggestion will be highly appreciated.