I embedded a youtube video in my C# application like this :string url = http://www.youtube.com/watch?v=x3r0ilu2Rzk;StreamWriter sw = new StreamWriter("utube.html");string PlayString = url.Trim().Replace("watch?v=", "v/");string Finalplaycode = "<embed src=" + PlayString + "&hl=en&fs=1& type=application/x-shockwave-flash allowscriptaccess=always allowfullscreen=true width=425 height=344></embed>";sw.Write(Finalplaycode);sw.Close();string PathToNavigate = Directory.GetParent(Application.ExecutablePath) + @"\utube.html";webBrowser1.Navigate(PathToNavigate);I can play it on my computer, but if I copy my dlls to someone else's computer, it won't work any more. It will only appears as a small red cross on the left top corner. We both have Adobe flash player installed and we both use IE. What is the problem? Please help me. Thank you!
解决方案 »
- bool值的用法
- .net线程问题
- 请高手指点一下,怎样在代码中获得framework2.0的 路径
- 數據庫存允許為空的日期字段我在提交時裡面的內容中含有"上午"字樣就保存不了。但我沒辦法去掉它,又保存不了。如果是不允許為空時又可以保存。
- 如何使自己编写的类库拥有象.Net类库一样的自动提示功能?
- 请问在c#中判断汉字的正则表达式是什么?
- winform调用oracle存储过程问题
- c#中,如何将textbox的内容写到word文档
- 更改数据库特定行的特定列并返回到数据源
- 如何动态设置DataGrid的列的宽度
- XPTable 单元格合并
- 如何将Exce中与Sql中的某张表对应字段的数据添加到该表中
webBrowser1.Navigate("你机器上断点跟踪到得最终的swf地址"); //看看能否播放。
不行的话叫他重装下Adobe flash player 9.0++,或者他的IE坏了。
部分术语中文有歧义的话,用个单词或者加个括弧就够了吧
打错了好多字,嘿嘿,maybe i should use English too.