Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
hi! i have stored video url in db. but wen i bind to label it displaying the link only.I want to display the video with play/pause format?please help me out with dis problem.Thanks in advance..
 
Regards
ChandanNorway
Posted 18-Feb-13 1:48am
Comments
ryanb31 at 18-Feb-13 7:53am
   
Then you'll need to bind it to a media player control that is embedded in your page.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Add the following code in your aspx code. Add proper URL db field in place of youtubeURL
 
<embed type="application/x-shockwave-flash" wmode="transparent" width="319" height="263"src="<%# Eval ("YouTubeURL" ) %>" />
  Permalink  
Comments
chandan norway at 18-Feb-13 9:37am
   
its not working.......
SChristmas at 18-Feb-13 9:40am
   
have you installed flash player?

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 6,725
1 OriginalGriff 6,696
2 CPallini 5,315
3 George Jonsson 3,589
4 Gihan Liyanage 2,650


Advertise | Privacy | Mobile
Web03 | 2.8.140921.1 | Last Updated 18 Feb 2013
Copyright © CodeProject, 1999-2014
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