Main Site login Signup

html5 video

I'm creating a uri from html data then converting it to a string with .ToString() and setting the WebControl.Source to it. It works fine for any html I give it, unless it includes video. If I use video, it looks like this: http://i.imgur.com/01KU7Rp.png (I'm on win10. just using custom theme)

The html I'm using is this:

         <video controls autoplay name="media">
     src="https://r11---sn-ab5l6ne6.googlevideo.com/videoplayback?requiressl=yes&id=79b864f59da3d22d&itag=22&source=webdrive&ttl=transient&app=texmex&ip=,id,ip,ipbits,itag,mm,mn,ms,mv,nh,pl,requiressl,source,ttl&signature=1543F547AC01BE34557797F17124DB94BB34C260.3234B6FF143A89329CA3DCCED7AE3181D34B0A3B&key=cms1&pl=24&cms_redirect=yes&mm=31&mn=sn-ab5l6ne6&ms=au&mt=1474115902&mv=m&nh=IgpwcjA1LmxnYTA3Kgw3Mi4xNC4yMjMuMjU" type="video/mp4">

(sorry for the long video url)

and here's how I'm setting the Source:

 var uri = new Uri("data:text/html," + BuildURL(), UriKind.Absolute);
 webBrowser.Source = uri;
asked Sep 17, 2016 at 01:41 PM avatar image fullweeb 0
more ▼
(comments are locked)
10|1100 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.