1

I am using Microsoft Web Helpers in my application and using

@Video.Flash(path: "http://www.youtube.com/v/o3mP3mJDL2k", width: "200", height: "200")

to embed a youtube url.

The actual url to the youtube video is

http://www.youtube.com/watch?v=o3mP3mJDL2k

I was wondering if there is any utily or regex to convert the above url to the embed url format(/v/) ?

if other members are embedding videos in their website , i am curious to know how they are doing this.

Thanks

user636525
  • 3,180
  • 9
  • 38
  • 51
  • possible duplicate of [Regular expression for youtube links](http://stackoverflow.com/questions/3717115/regular-expression-for-youtube-links) – Steven V Jan 31 '14 at 18:22

0 Answers0