Click here to Skip to main content
15,171,576 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to play some videos in my aspx page like the youtube site.
i am trying to use media player (silverlite) and also flash player
in some videos and some content on the net what i saw was quite OK but when i am using the same code and method then my page is opening but the video is not starting but it is asking for a download.I dont want a download to my system.I just wanted to play the video in that aspx page only
pls help[^]

i have mentioned the link and i am using it the same way as it is done in the link..
but problem is that whenever i run my page it asks for download rather than playing
i have unistalled my IDM aslo but still it only downloads

1 solution

Alternatively you can use HTML5 video tags -

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.

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