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 6343851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:31:37+00:00 2026-05-24T20:31:37+00:00

I am just curious is it easy to give access on your website to

  • 0

I am just curious is it easy to give access on your website to users so that they can add videos from youtube? If yes can someone share php code how we can do this?

  • 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-24T20:31:38+00:00Added an answer on May 24, 2026 at 8:31 pm

    It’s not easy for security reasons. You can easily get the embed code for a youtube vid and post it on your site, but you don’t want to allow users to just post vids without some type of validation, otherwise everyone will write scripts to redirect the page, etc.

    I would get the URL and validate it thoroughly. Maybe just parse out the video ID (eg iUZOEBDN3a4) and then reconstruct the embed code yourself using php.

    The embed code will be something like this: <iframe width="420" height="345" src="http://www.youtube.com/embed/8I5JVl8u_Yw" frameborder="0" allowfullscreen></iframe>

    Then the if you want to share that with other users, say on a video sharing page, just save that code to an html file on your server, and load it to the view page using an include statement.

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

Sidebar

Related Questions

Just curious, I was told that with dll files, you can make modifications to
Just curious if there's an easy way to add functions to the $(window).load() event
This should be easy, just curious. I know httpd is the HTTP daemon, just
Just curious, is there a format string I can use to output something like
Just curious what the experience has been in uploading MS Access tables to SharePoint
I was just curious if there was an easy way to display a right
Just curious if there is an easy way to load more than one Gemfile
Just curious: sure, we all know that the general case of type inference for
This is easy to work around, but I just curious if I could be
I'm just curious if there is any software, that could help me with mock

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.