Click here to Skip to main content
13,087,235 members (55,602 online)
Rate this:
 
Please Sign up or sign in to 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 27-Sep-12 20:17pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Take an idea from here.It is in asp.net
how to play a video file in asp.net[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

Click here for media player[^]

You can add a listbox on to this player if you need to.
  Permalink  
Comments
Jasbeer Singh 28-Sep-12 6:01am
   
how.. am not able to do so.. video is not playing
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

make a variable that will get the value of the file chosen in the listbox and substitute it to the url.

<nameofwindowsmediaplayer>.URL = (url)
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 28 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100