activex in asp.net
-
hello all, i have an Activex control which is a player plays .cam files.I embed its dll in webpage using . I have play button in each row of datagrid.so if 1 st play button in the grid is clicked,the activex control dll downloads and starts playing files. Everthing is working well. but if i click another play button while the first one player is playing, the first player is crashing. To over come this problem,i need to close the first player,when second player's play button is clicked. 1.how to close the first player,when 2 second player play button is clicked. any solutions.. plz help me and give me suggestions.. Thanks in advance, sunita
-
hello all, i have an Activex control which is a player plays .cam files.I embed its dll in webpage using . I have play button in each row of datagrid.so if 1 st play button in the grid is clicked,the activex control dll downloads and starts playing files. Everthing is working well. but if i click another play button while the first one player is playing, the first player is crashing. To over come this problem,i need to close the first player,when second player's play button is clicked. 1.how to close the first player,when 2 second player play button is clicked. any solutions.. plz help me and give me suggestions.. Thanks in advance, sunita
IMO, you can implement it in the way as below when the play button is clicked: Basically, you only need one player to play the selected media file, once the play button is clicked, you can use javascript to
stop
the player, assign the new media file to the url property, then call theplay
method.