|
@@ 95-99 (lines=5) @@
|
| 92 |
|
$xtubeModuleConfig['shotheight'] = $size['shotheight']; |
| 93 |
|
} |
| 94 |
|
// Determine if video source YouTube |
| 95 |
|
if (0 == $bsource) { |
| 96 |
|
$thumbb = '<img src="http://img.youtube.com/vi/' . $bvidid . '/default.jpg" title="' . $btitle . '" alt="' . $btitle . '" width="' . $xtubeModuleConfig['shotwidth'] . '" height="' |
| 97 |
|
. $xtubeModuleConfig['shotheight'] . '" border="0" />'; |
| 98 |
|
} |
| 99 |
|
// Determine if video source MetaCafe |
| 100 |
|
if ($bsource == 1) { |
| 101 |
|
list($metaclip) = explode('[/]', $bvidid); |
| 102 |
|
$videothumb['metathumb'] = $metaclip; |
|
@@ 113-117 (lines=5) @@
|
| 110 |
|
. '" border="0" />'; |
| 111 |
|
} |
| 112 |
|
// Determine if video source Photobucket |
| 113 |
|
if ($bsource == 3) { |
| 114 |
|
$thumbb = '<img src="http://i153.photobucket.com/albums/' . $bvidid . '.jpg" title="' . $btitle . '" alt="' . $btitle . '" width="' . $xtubeModuleConfig['shotwidth'] . '" height="' |
| 115 |
|
. $xtubeModuleConfig['shotheight'] . '" border="0" />'; |
| 116 |
|
} |
| 117 |
|
// Determine if video source Google Video / MySpace TV / DailyMotion |
| 118 |
|
if ($bsource == 100) { |
| 119 |
|
$thumbb = '<img src="' . $bpicurl . '" title="' . $btitle . '" alt="' . $btitle . '" width="' . $xtubeModuleConfig['shotwidth'] . '" height="' . $xtubeModuleConfig['shotheight'] |
| 120 |
|
. '" border="0" />'; |
|
@@ 118-121 (lines=4) @@
|
| 115 |
|
. $xtubeModuleConfig['shotheight'] . '" border="0" />'; |
| 116 |
|
} |
| 117 |
|
// Determine if video source Google Video / MySpace TV / DailyMotion |
| 118 |
|
if ($bsource == 100) { |
| 119 |
|
$thumbb = '<img src="' . $bpicurl . '" title="' . $btitle . '" alt="' . $btitle . '" width="' . $xtubeModuleConfig['shotwidth'] . '" height="' . $xtubeModuleConfig['shotheight'] |
| 120 |
|
. '" border="0" />'; |
| 121 |
|
} |
| 122 |
|
// Determine if video source MySpace TV |
| 123 |
|
if ($bsource == 101) { |
| 124 |
|
$thumbb = '<img src="' . $bpicurl . '" title="' . $btitle . '" alt="' . $btitle . '" width="' . $xtubeModuleConfig['shotwidth'] . '" height="' . $xtubeModuleConfig['shotheight'] |
|
@@ 123-126 (lines=4) @@
|
| 120 |
|
. '" border="0" />'; |
| 121 |
|
} |
| 122 |
|
// Determine if video source MySpace TV |
| 123 |
|
if ($bsource == 101) { |
| 124 |
|
$thumbb = '<img src="' . $bpicurl . '" title="' . $btitle . '" alt="' . $btitle . '" width="' . $xtubeModuleConfig['shotwidth'] . '" height="' . $xtubeModuleConfig['shotheight'] |
| 125 |
|
. '" border="0" />'; |
| 126 |
|
} |
| 127 |
|
// Determine if video source DailyMotion |
| 128 |
|
if ($bsource == 102) { |
| 129 |
|
$thumbb = '<img src="' . $bpicurl . '" title="' . $btitle . '" alt="' . $btitle . '" width="' . $xtubeModuleConfig['shotwidth'] . '" height="' . $xtubeModuleConfig['shotheight'] |
|
@@ 128-131 (lines=4) @@
|
| 125 |
|
. '" border="0" />'; |
| 126 |
|
} |
| 127 |
|
// Determine if video source DailyMotion |
| 128 |
|
if ($bsource == 102) { |
| 129 |
|
$thumbb = '<img src="' . $bpicurl . '" title="' . $btitle . '" alt="' . $btitle . '" width="' . $xtubeModuleConfig['shotwidth'] . '" height="' . $xtubeModuleConfig['shotheight'] |
| 130 |
|
. '" border="0" />'; |
| 131 |
|
} |
| 132 |
|
|
| 133 |
|
return $thumbb; |
| 134 |
|
} |