Changeset 3307 for extensions/gvideo
- Timestamp:
- May 20, 2009, 1:28:58 AM (15 years ago)
- Location:
- extensions/gvideo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/admin/add_page.php
r3296 r3307 17 17 { 18 18 @preg_match("#thumbnailUrl\\\\x3d(http://.*/ThumbnailServer.*)\\\\x26#", $source, $thumb_url); 19 //$video['thumb_url'] = @str_replace(array('\x3d', '\x26'), array('=', '&'), $thumb_url[1]);20 19 $video['thumb_url'] = @urldecode($thumb_url[1]); 20 $video['thumb_url'] = @str_replace(array('\x3d', '\x26'), array('=', '&'), $video['thumb_url']); 21 21 } 22 22 return $video; … … 63 63 if ($_POST['thumbnail'] == 'thumb_from_server' and fetchRemote($url, $source)) 64 64 { 65 @preg_match('#link rel="image_src" href="(http:// images.vimeo.com/.*?)"#', $source, $matches);65 @preg_match('#link rel="image_src" href="(http://.*?)"#', $source, $matches); 66 66 $video['thumb_url'] = @str_replace('160.jpg', '200.jpg', $matches[1]); 67 67 } -
extensions/gvideo/main.inc.php
r3296 r3307 2 2 /* 3 3 Plugin Name: PY GVideo 4 Version: 2.0. f4 Version: 2.0.g 5 5 Description: Adds some videos from Google Video, Dailymotion, Youtube, Wideo or Vimeo. 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=136 -
extensions/gvideo/template/pywaie_wideo.tpl
r3296 r3307 1 1 {* pywaie_wideo.tpl *} 2 2 <br /> 3 <object type="application/x-shockwave-flash" data="http://www.kewego.com/swf/p3/epix.swf?language_code=fr&playerKey=0df9b773a15b&skinKey=7109c4112f57&sig={$ID_GVIDEO}&autostart={$AUTO_GVIDEO}&advertise=1" width="{$W_GVIDEO}" height="{$H_GVIDEO}"> 3 <div style="height: {$H_GVIDEO+10}px;"> {* necessary for lightbox plugin *} 4 <object width="{$W_GVIDEO}" height="{$H_GVIDEO}" type="application/x-shockwave-flash" data="http://www.kewego.com/swf/p3/epix.swf?language_code=fr&playerKey=0df9b773a15b&skinKey=7109c4112f57&sig={$ID_GVIDEO}&autostart={$AUTO_GVIDEO}&advertise=1"> 4 5 <param name="movie" value="http://www.kewego.com/swf/p3/epix.swf?language_code=fr&playerKey=0df9b773a15b&skinKey=7109c4112f57&sig={$ID_GVIDEO}&autostart={$AUTO_GVIDEO}&advertise=1" /> 5 6 <param name="allowFullScreen" value="true" /> 6 7 <param name="quality" value="high" /> 7 8 <param name="autostart" value="{$AUTO_GVIDEO}" /> 8 9 9 <param name="wmode" value="Window" /> 10 10 </object> 11 </div>
Note: See TracChangeset
for help on using the changeset viewer.