Jump to content

why cant i embed a youtube video on my website?


jwk811

Recommended Posts

ok nevermind it wasnt working yesterday but i checked it again and now its working weird. but i have another question. i want the embedded video to have a thumbnail. heres whats going to happen. people will come to the site click embed video from youtube.

 

then they will copy and paste the embeded code into the area i provide which will then go into the database.

 

on the video page it will show everyones videos but only the thumbnail and when they click on it it will go to the video on MY website. the embedded video.

Link to comment
Share on other sites

I see what you mean.

 

You are making a portal where users enter in an embed code that goes into your database then a list of videos appear on your website.

 

You could probably use fopen() to grab the thumbnail from the youtube site.

 

fopen() is restricted from external servers. You simply would want to find the link of the image on youtube's server and "hotlink" the image to youtube's server. Google "youtube thumbnail" for help. I'm sure there are some thumbnails.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.