Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6602055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:49:53+00:00 2026-05-25T18:49:53+00:00

I run a forum and I want to automatically replace any link to a

  • 0

I run a forum and I want to automatically replace any link to a YouTube video with a iframe youtube video player using ASP.NET+C#.

How to replace this Link

http://youtu.be/uN-A8eHte1g

with

<iframe class="youtube-player" frameborder="0" height="250" src="http://www.youtube.com/embed/uN-A8eHte1g?rel=0&amp;wmode=Opaque" title="YouTube video player" type="text/html" width="100%"></iframe>

I can’t really find anything like this on the ineternet.

Hope someone could help me this. Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:49:53+00:00Added an answer on May 25, 2026 at 6:49 pm

    I understand this code is in php and you want a c# example but this will give information regarding the approach you should take. Also the php code is very easy to read and should be fairly simple to concvert into c#.

    http://mattcrouch.net/blog/2011/01/converting-urls-into-links-and-youtube-videos/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making a forum and I want it to run like a desktop
I wonder if there is any practice when designing a forum. I want to
Let's say you have a custom form MyForm : Form and want to run
I am submitting a ColdFusion Form and I want to run some JavaScript to
I want to run a relatively time consuming script based on some form input,
I want to run a console application (eg app.exe) from a windows form load
I've got a form with textboxes and I want to run some server side
I have a form which on submit I want to run a script via
I run a forum designed to support an international mathematics group. I've recently switched
I'm creating a small forum. Attempting to run SElECT... JOIN... query too pick up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.