Hi satabeach,
Refer below sample.
Code
private void btnGo_Click(object sender, EventArgs e)
{
string html = "<html><head>";
html += "<meta content='IE=Edge' http-equiv='X-UA-Compatible'/>";
html += "<link href='https://unpkg.com/video.js/dist/video-js.css' rel='stylesheet'>";
html += "<script src='https://unpkg.com/video.js/dist/video.js'></script>";
html += "<script src='https://unpkg.com/videojs-contrib-hls/dist/videojs-contrib-hls.js'></script>";
html += "<video id='my_video' class='video-js vjs-fluid vjs-default-skin' controls preload='auto' data-setup='{}' autoplay>";
html += "<source src='" + txtUrl.Text.Trim() + "' type='application/x-mpegURL'>";
html += "</video>";
html += "<script>";
html += "var player = videojs('my_video');";
html += "player.play();";
html += "</script>";
html += "</body></html>";
this.webBrowser1.DocumentText = html;
}
VB.Net
Private Sub btnGo_Click(sender As System.Object, e As System.EventArgs) Handles btnGo.Click
Dim html As String = "<html><head>"
html += "<meta content='IE=Edge' http-equiv='X-UA-Compatible'/>"
html += "<link href='https://unpkg.com/video.js/dist/video-js.css' rel='stylesheet'>"
html += "<script src='https://unpkg.com/video.js/dist/video.js'></script>"
html += "<script src='https://unpkg.com/videojs-contrib-hls/dist/videojs-contrib-hls.js'></script>"
html += "<video id='my_video' class='video-js vjs-fluid vjs-default-skin' controls preload='auto' data-setup='{}' autoplay>"
html += "<source src='" & txtUrl.Text.Trim() & "' type='application/x-mpegURL'>"
html += "</video>"
html += "<script>"
html += "var player = videojs('my_video');"
html += "player.play();"
html += "</script>"
html += "</body></html>"
Me.webBrowser1.DocumentText = html
End Sub
Screenshot