Also ich habe ein WebBrowser Control in dem ich ein Video anzeigen lasse wie folgt
Nur ist der Player nicht 640px breit sonder etwa 150px.
Das WebBrowser element hat das format 640x385
wisst ihr vllt wieso es nicht gestreckt wird bzw die angegeben größe nimmt ?
VB.NET-Quellcode
- Dim Video As String = "<html><body style=""margin:0px; padding:0px;"">" _
- & "<object width=""640"" height=""385"">" _
- & "<param name=""movie"" value=""http://www.youtube.com/v/9mXIrjHTxG4""></param>" _
- & "<param name=""allowFullScreen"" value=""true""></param>" _
- & "<embed src=""http://www.youtube.com/v/9mXIrjHTxG4"" ""Type = ""application/x-shockwave-flash"" allowfullscreen=""true"" ""width=""640"" height=""385""></embed>" _
- & "</object>" _
- & "</body></html>"
- wbVideo.DocumentText = Video
Nur ist der Player nicht 640px breit sonder etwa 150px.
Das WebBrowser element hat das format 640x385
wisst ihr vllt wieso es nicht gestreckt wird bzw die angegeben größe nimmt ?