Click here to Skip to main content
15,913,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Expert,

How to add dynamically Poster in Video tag element using c#.. here "intro.png" is hardcoded..
i need it to dynamic using c#

HTML
<video id="player_a" poster="intro.png" title="Live Kitchen" width="640" height="360" controls>
   <source src="http://www.projekktor.com/intro.ogv" type="video/ogg" />
   <source src="http://www.projekktor.com/intro.mp4" type="video/mp4" />
</video> 



Thanks

Dileep
Posted
Comments
Zoltán Zörgő 29-May-13 15:35pm    
Well, add that property from code or from javascript. What is the problem?
ZurdoDev 29-May-13 17:51pm    
Add runat="server" and then set the value in C#.
Sunasara Imdadhusen 30-May-13 0:50am    
What is your problem

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