[英]Local path to JavaScript file are not working under loaded to WebBrowser control local HTML page
[英]WebBrowser local html file, flash not working?
我正在使用WinForm Web瀏覽器,我加載了一個本地html文件,其中包含和播放視頻的Flash播放器,但問題是該播放器可以工作,但未加載視頻。
當我在瀏覽器中打開html文件時,它可以正常工作。
這是我正在使用的代碼:
string curDir = Directory.GetCurrentDirectory();
this.webBrowser1.Url = new Uri(String.Format("file:///{0}/Resources/streaming.html", curDir));
文件位置正確,有什么我可以解決的問題嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.