Jump to content

store youtube thumbnail


jasmeet

Recommended Posts

i want to store youtube thumbnnail in my folder with resize option.

 


 

 

http://img.youtube.com/vi/BoVBdxftEF8/0.jpg

 

this is the image  thumbnail

 

file_put_contents ("video_thumbnails/thumb.jpg",file_get_contents("http://img.youtube.com/vi/BoVBdxftEF8/0.jpg"));

 

but it shows errors!!!

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/283408-store-youtube-thumbnail/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.