Jump to content

If...else YOUTUBE thumbnail Help..


darubillah

Recommended Posts

hello,

 

I need a little help from you Genius people out their

 

I am working on a search engine script,

 

I want to add Youtube Videos Thumbnails

 

visit my site http://searching.cz.cc

 

& click on Videos Tab & search something It will search on youtube

 

see the below code

										$results_display.='	<table cellpadding="0" ><tr> <td width="0%"  valign="top">';        										if($show_thumbs==1){    											$results_display.='<img src="http://open.thumbshots.org/image.pxf?url='.$link.'" border="0" onload="if (this.width>50) this.border=1; this.alt=\'Thumbnails by Thumbshots.org\';">  </td><td width="96%"  valign="top">';     										}else {    											$results_display.=' </td> <td width="96%" >';    										}

 

I have also attached the search.php file

 

Currently it shows thumbnails from thumbshot.org, Which is not showing the Video thumbnails,

 

I want to show  Youtube video thumshot & when anyone click on it it would play video on the same page

 

and remember it shows results of other TABS also

 

i dont want to show thumbnails of youtube on other TABS hope you understand

 

can anyone please help me, I would also add his name on big contributers list

 

Please Help me

 

I know how to create youtube thumbshot if you dont know then visit this

http://www.technospot.net/blogs/how-to-grab-and-download-the-you-tube-video-thumbnail/

 

SOURCE for search.php

http://searching.cz.cc/search.txt

Link to comment
https://forums.phpfreaks.com/topic/181882-ifelse-youtube-thumbnail-help/
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.