开发者

how to play a swf file in silverlight

how to play a swf file in silverlight applic开发者_运维百科ation project created in c#


use below code

 <WebBrowser Grid.Row="1" VerticalAlignment="Top" Source="{Binding VodeoUrl,Mode=OneWay}" Height="280" Width="280"/>

in C# code :

eg. swf file url: http://xyz.net/evideos/tanzanite-01/7398a.swf or you can set local path also.

VodeoUrl = video[0].ToString();


You can host HTML (that embed the SWF file) in Silverlight by using WebBrowser control. But I think it should run in out-of-browser.


An SWF file is a file which can be played using Adobe Flash. It can not be played in Silverlight, or you have to pass it to Flash in some way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜