Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello,
i have written a code for media player,
and it plays files which i put as url in src,
but i want it to pic the files from listbox as i click the file in listbox.
how can it be done
Posted

Take an idea from here.It is in asp.net
how to play a video file in asp.net[^]
 
Share this answer
 
Click here for media player[^]

You can add a listbox on to this player if you need to.
 
Share this answer
 
Comments
Jasbeer Singh 28-Sep-12 6:01am    
how.. am not able to do so.. video is not playing
make a variable that will get the value of the file chosen in the listbox and substitute it to the url.

<nameofwindowsmediaplayer>.URL = (url)
 
Share this answer
 
Comments
Jasbeer Singh 28-Sep-12 6:00am    
how it can be, i am not able to do so

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900