当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - How can I read and play a video file from my table in database?

问题描述:

When I used to directly control the video playback,But when i read from table it's not work

My sources :

<video id="vd_file" runat="server" controls="controls"

width="400px" height="300px" src="" />

string ss =ec.Getds("select product_other4 from products where Product_Id='6' " );

vd_file.InnerHtml = "<video src=\"" + ss + " \" id=\"vd_file\" runat=\"server\" controls=\"controls\" width=\"400px\" height=\"300px\" /> " ;

分享给朋友:
您可能感兴趣的文章:
随机阅读: