0

hello...
i am creating a video library using asp.net.
i am new with asp.net with c#. in it i use datalist for images and hyperlink of video.
now i want to play video in other page by click on image which have hyperlink of video.
so what to do?

if you want to know what i am looking for then see the links..

this is a movies site.


<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" Height="355px" Width="259px">
            <ItemTemplate>
               
                
                <a  runat="server" href ='<%# Eval("video_url") %>'>
                 image_url:
                <asp:image  runat="server"  ImageUrl='<%# Eval("image_url") %>' Height="186px" Width="206px" /><br />
                </a><br />
                <br />
            </ItemTemplate>
        </asp:DataList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="SELECT [image_url], [video_url] FROM [Table2]"></asp:SqlDataSource>

Edited by Ezzaral: Remoed link to illegal download site.

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by __avd
0

what depends on the video type.

but the idea would be to create a page that contains the activex control you want to play the video with, or a much better idea a flash video player. and pass to that page the video url. Write a javascript that gets tells the flash video player where to stream from. And go from there.

Of course I can't help you an further because this is a big project, and more importantly it sounds illegal. (unless theses are home movies)

0

>now i want to play video in other page by click on image which have hyperlink of video. so what to do?

Set target="_blank" attribute.

<a  runat="server"  target='_blank' href ='<%# Eval("video_url") %>'>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.