|
現: 2010-07-25 (日) 21:27:52 nao-pon |
| + | #navi(../) |
| | | |
| + | #boxdate |
| + | * Ver 4.03.11 (ref の動画ファイル対応など) [#w259581f] |
| + | |
| + | &tag(pukiwiki.ini.php); |
| + | |
| + | ** 概要 [#ma8a4cb6] |
| + | - グローバルサーチで、不正なリンクになることがある問題を修正 |
| + | - SWFObject を v2.2 にバージョンアップ |
| + | - sie-mini.js を 0.60 にバージョンアップ |
| + | - ref プラグインによるビデオコンテンツのインライン表示(添付ファイルとビデオ共有サービスのコンテンツ) |
| + | -- MIME タイプ追加 |
| + | --- [[:config/plugin/attach/mime-type]] |
| + | -- pukiwiki.ini.php に設定項目を追加 |
| + | #code(php,55-)){{ |
| + | // SWF Object でリクエストする Flash バージョン |
| + | $const['PLUGIN_REF_FLASH_VERSION'] = '10.0.45.2'; |
| + | |
| + | // ref でインライン表示させる MIME タイプと使用プラグインまたはテンプレート名 |
| + | // インライン表示可能なのは管理人所有のファイルと、管理人が許可したファイルのみ |
| + | $const['PLUGIN_REF_MIME_INLINE'] = array(); |
| + | $const['PLUGIN_REF_MIME_INLINE']['image/svg+xml'] = 'minimum'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/x-flv'] = 'flash'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/3gpp'] = 'quicktime'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/3gpp2'] = 'quicktime'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/mp4'] = 'quicktime'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/quicktime'] = 'quicktime'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/mpeg'] = 'quicktime'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/x-ms-asf'] = 'wmp6.4'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/x-ms-wmv'] = 'wmp6.4'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/avi'] = 'wmp6.4'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/divx'] = 'divx'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/x-matroska'] = 'divx'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['application/vnd.rn-realmedia']= 'real'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/ogg'] = 'html5_video'; |
| + | $const['PLUGIN_REF_MIME_INLINE']['video/webm'] = 'html5_video'; |
| + | |
| + | // プラグインプレーヤーの設定 (<object> 用) |
| + | $const['PLUGIN_REF_PLAYERS'] = array(); |
| + | $const['PLUGIN_REF_PLAYERS']['wmp'] = array( |
| + | 'classid' => 'clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6', |
| + | 'codebase' => '', |
| + | 'height+' => 45, |
| + | 'width+' => 0, |
| + | 'types' => 'video/x-ms-wmv video/x-ms-wvx video/x-ms-wm video/x-ms-asf video/x-ms-asf-plugin', |
| + | 'banner' => '' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_PLAYERS']['wmp6.4'] = array( |
| + | 'classid' => 'clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95', |
| + | 'codebase' => '', |
| + | 'height+' => 45, |
| + | 'width+' => 0, |
| + | 'types' => 'video/x-ms-wmv video/x-ms-wvx video/x-ms-wm video/x-ms-asf video/x-ms-asf-plugin', |
| + | 'banner' => '' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_PLAYERS']['quicktime'] = array( |
| + | 'classid' => 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', |
| + | 'codebase' => 'http://www.apple.com/qtactivex/qtplugin.cab', |
| + | 'height+' => 16, |
| + | 'width+' => 0, |
| + | 'types' => 'video/quicktime video/mp4 video/sd-video video/x-m4v video/3gpp2 video/3gpp video/mpeg video/x-mpeg', |
| + | 'banner' => '' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_PLAYERS']['divx'] = array( |
| + | 'classid' => 'clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616', |
| + | 'codebase' => 'http://go.divx.com/plugin/DivXBrowserPlugin.cab', |
| + | 'height+' => 20, |
| + | 'width+' => 0, |
| + | 'types' => 'video/divx', |
| + | 'banner' => '<a href="http://www.divx.com/divx/webplayer/"><img src="http://labs.divx.com/files/DivX_Plus_Labs_Banner_Small_en.png"></a>' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_PLAYERS']['real'] = array( |
| + | 'classid' => 'clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', |
| + | 'codebase' => '', |
| + | 'height+' => 0, |
| + | 'width+' => 0, |
| + | 'types' => 'audio/x-pn-realaudio-plugin', |
| + | 'banner' => '' |
| + | ); |
| + | |
| + | //$const['PLUGIN_REF_PLAYERS']['silverlight'] = array( |
| + | // 'classid' => '', |
| + | // 'codebase' => '', |
| + | // 'data' => 'data:application/x-silverlight-2,', |
| + | // 'height+' => 0, |
| + | // 'width+' => 0, |
| + | // 'types' => 'application/x-silverlight-2', |
| + | // 'banner' => '' |
| + | //); |
| + | |
| + | // フラッシュプレーヤーの設定 |
| + | // プレーヤーの配置先は "trust/modules/xpwiki/skin/swf" |
| + | //// http://flowplayer.org/ |
| + | $const['PLUGIN_REF_FLV_PLAYER'] = 'flowplayer-3.2.2.swf'; |
| + | $const['PLUGIN_REF_FLV_PLAYER_VARS'] = '{"config":\'{"clip":{"url":"$url","autoPlay":false},"plugins":{"controls":{"url":"$srcurlflowplayer.controls-3.2.1.swf"}}}}\'}'; |
| + | $const['PLUGIN_REF_FLV_PLAYER_CTR_WIDTH'] = 0; |
| + | $const['PLUGIN_REF_FLV_PLAYER_CTR_HEIGHT'] = 0; |
| + | //// http://rexef.com/webtool/flaver3/ |
| + | //$const['PLUGIN_REF_FLV_PLAYER'] = 'flaver.swf'; |
| + | //$const['PLUGIN_REF_FLV_PLAYER_VARS'] = '{"file":"$url","title":"$title"}'; |
| + | //$const['PLUGIN_REF_FLV_PLAYER_CTR_WIDTH'] = 10; |
| + | //$const['PLUGIN_REF_FLV_PLAYER_CTR_HEIGHT'] = 50; |
| + | |
| + | // ネットビデオ(共有サービースの設定) |
| + | $const['PLUGIN_REF_NETVIDEOS'] = array(); |
| + | $const['PLUGIN_REF_NETVIDEOS']['niconico'] = array( |
| + | 'regex' => '#^http://www\.nicovideo\.jp/watch/([0-9a-z]+)#i', |
| + | 'type' => 'html', |
| + | 'src' => '<script type="text/javascript" src="http://ext.nicovideo.jp/thumb_watch/$1"></script>' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['youtube'] = array( |
| + | 'regex' => '#^http://www\.youtube\.com/watch\?v=([0-9a-z]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://www.youtube.com/v/$1&hl=ja_JP&fs=1', |
| + | 'width' => 640, |
| + | 'height' => 385, |
| + | 'attribute' => 'allowfullscreen="true" allowscriptaccess="always"' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['google'] = array( |
| + | 'regex' => '#^http://video\.google\.com/videoplay\?docid=([0-9-]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://video.google.com/googleplayer.swf?docid=$1&hl=&fs=true', |
| + | 'width' => 640, |
| + | 'height' => 385, |
| + | 'attribute' => 'allowfullscreen="true" allowscriptaccess="always"' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['ustream'] = array( |
| + | 'regex' => '#^http://www.ustream.tv/recorded/([0-9]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://www.ustream.tv/flash/video/$1', |
| + | 'width' => 480, |
| + | 'height' => 386, |
| + | 'attribute' => 'flashvars="loc=%2F&autoplay=false&vid=$1&locale=" allowfullscreen="true" allowscriptaccess="always"' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['circle.zoome'] = array( |
| + | 'regex' => '#^http://circle\.zoome\.jp/([a-z0-9_-]+)/media/([0-9]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://circle.zoome.jp/$1/zpmed/p/$2/', |
| + | 'width' => 800, |
| + | 'height' => 640, |
| + | 'attribute' => 'allowFullScreen="true" allowScriptAccess="always"' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['zoome'] = array( |
| + | 'regex' => '#^http://zoome\.jp/([a-z0-9_-]+)/diary/([0-9]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://zoome.jp/$1/zpdia/p/$2/', |
| + | 'width' => 800, |
| + | 'height' => 640, |
| + | 'attribute' => 'allowFullScreen="true" allowScriptAccess="always"' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['vimeo'] = array( |
| + | 'regex' => '#^http://vimeo\.com/([0-9]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://vimeo.com/moogaloop.swf?clip_id=$1&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1', |
| + | 'width' => 640, |
| + | 'height' => 360, |
| + | 'attribute' => 'allowFullScreen="true" allowScriptAccess="always"' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['guba'] = array( |
| + | 'regex' => '#^http://www\.guba\.com/watch/([0-9]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://www.guba.com/static/f/player__v13938.swf?isEmbeddedPlayer=true&bid=$1', |
| + | 'width' => 700, |
| + | 'height' => 400, |
| + | 'attribute' => 'allowFullScreen="true" allowScriptAccess="never" quality="best"' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['veoh'] = array( |
| + | 'regex' => '#^http://www\.veoh\.com/[a-z/]+/watch/([a-z0-9]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.5.2.1030&permalinkId=$1&player=videodetailsembedded&videoAutoPlay=0&id=anonymous', |
| + | 'width' => 608, |
| + | 'height' => 487, |
| + | 'attribute' => 'allowFullScreen="true" allowScriptAccess="always"' |
| + | ); |
| + | |
| + | $const['PLUGIN_REF_NETVIDEOS']['pandora'] = array( |
| + | 'regex' => '#^http://channel\.pandora\.tv/channel/video\.ptv\?.+?(userid=[0-9a-z]+&prgid=[0-9]+)#i', |
| + | 'type' => 'flash', |
| + | 'src' => 'http://flvr.pandora.tv/flv2pan/flvmovie.dll/$1&countryChk=jp&skin=1', |
| + | 'width' => 500, |
| + | 'height' => 402, |
| + | 'attribute' => 'allowFullScreen="true" allowScriptAccess="always"' |
| + | ); |
| + | }} |
| + | -- ビデオ共有サービスのコンテンツを表示する場合は、サービスの該当ページを ref プラグインに与えます。 |
| + | --- 例: &ref(http://www.youtube.com/watch?v=noU1BHEu7YU,mw:320); &br; |
| + | &ref(http://www.youtube.com/watch?v=noU1BHEu7YU,mw:320); |
| + | - ref プラグインのブロック型に "caption" オプションを追加した。 |
| + | -- 関連スレッド: [[画像のキャプションを表示する方法は? - xpWiki - フォーラム - XOOPSマニア:http://xoops.hypweb.net/modules/forum/index.php?topic_id=2972]] |
| + | -- 例: #ref(:ShareImages/ie8_compat.gif,mw:120,mh:120,center,caption,これはキャプションのテスト) |
| + | #ref(:ShareImages/ie8_compat.gif,mw:120,mh:120,center,caption,これはキャプションのテスト) |
| + | - googlemaps2 プラグインでの携帯用表示に Google Map へのリンクを追加した。 |
| + | - googlemaps2 プラグインでオートズームを指定した場合、マーカーが2つ以上ないとオートズームが有効にならないようにした。 |
| + | |
| + | ** ref プラグインでの動画インライン表示について [#b33ef176] |
| + | |
| + | &font(Gray){'''あとで書きます。'''}; :-P |
| + | |
| + | ** CVS 更新内容 [#y02c3470] |
| + | #region(今回の更新分){{ |
| + | - 2010-07-25 16:07 nao-pon |
| + | -- version.php (1.111) |
| + | --- Version 4.03.11. |
| + | - 2010-07-25 16:07 nao-pon |
| + | -- ini/pukiwiki.ini.php (1.105) |
| + | -- skin/css/main.css (1.38) |
| + | -- plugin/ref.inc.php (1.53) |
| + | --- It corresponded to an in-line display of the video file. |
| + | --- Optional "caption" of the block type plug-in was added. |
| + | - 2010-07-25 16:01 nao-pon |
| + | -- class/attach.php (1.30) |
| + | -- plugin/attach.inc.php (1.58) |
| + | --- Correction for function of display of animation of plugin "ref". |
| + | - 2010-07-25 15:54 nao-pon |
| + | -- class/func/xpwiki_func.php (1.230) |
| + | --- Use "HypCommonFunc::file_get_contents". |
| + | - 2010-07-25 15:53 nao-pon |
| + | -- main.php (1.31) |
| + | --- Require HypCommonFunc Version >= 20100725. |
| + | - 2010-07-25 15:51 nao-pon |
| + | -- skin/keitai.skin.php (1.34) |
| + | --- Set k-tai render configs. |
| + | - 2010-07-25 15:50 nao-pon |
| + | -- plugin/googlemaps2.inc.php (1.13) |
| + | -- plugin/googlemaps2_mark.inc.php (1.8) |
| + | --- Added link to "Google map" with static map. |
| + | - 2010-07-25 15:48 nao-pon |
| + | -- include/compat.php (1.11) |
| + | --- Use "HypCommonFunc::file_get_contents". |
| + | - 2010-07-25 15:47 nao-pon |
| + | -- class/func/pukiwiki_func.php (1.224) |
| + | --- The character string replace function was added to InterWikiName. "|from>to" (ex. "utf8|/>^" ) |
| + | - 2010-07-25 15:43 nao-pon |
| + | -- ID/en/wiki/.timestamp (1.8) |
| + | -- ID/en/wiki/3A636F6E6669672F706C7567696E2F6174746163682F6D696D652D74797065.txt |
| + | (1.4) |
| + | -- ID/ja/wiki/.timestamp (1.8) |
| + | -- ID/ja/wiki/3A636F6E6669672F706C7567696E2F6174746163682F6D696D652D74797065.txt |
| + | (1.4) |
| + | --- Added some video MIME types into ":config/plugin/attach/mime-type". |
| + | - 2010-07-25 15:39 nao-pon |
| + | -- skin/js/googlemaps2.js (1.7) |
| + | --- The marker in two places or more is necessary for "Auto zoom". |
| + | - 2010-07-25 15:37 nao-pon |
| + | -- skin/js/sie-mini.js (1.4) |
| + | --- Version 0.60 |
| + | - 2010-07-25 15:37 nao-pon |
| + | -- skin/js/swfobject.js (1.2) |
| + | --- SWFObject v2.2 |
| + | - 2010-07-25 15:36 nao-pon |
| + | -- skin/swf/LICENSE-flowplayer.txt (1.1) |
| + | -- skin/swf/flowplayer-3.2.2.swf (1.1) |
| + | -- skin/swf/flowplayer.controls-3.2.1.swf (1.1) |
| + | --- flowplayer by http://flowplayer.org/ |
| + | - 2010-07-25 15:35 nao-pon |
| + | -- skin/swf/expressInstall.swf (1.2) |
| + | --- Update. |
| + | - 2010-07-25 15:14 nao-pon |
| + | -- class/extension/xoopsSearch.php (1.9) |
| + | --- Bug-fixed about missing link problem. |
| + | - 2010-07-25 15:11 nao-pon |
| + | -- class/plugin.php (1.20) |
| + | --- Set "root->render_mode" value at "swap_global_vars()". |
| + | }} |
| + | |
| + | ** 一行コメント [#ya47f4c7] |
| + | #comment |
| + | |
| + | #navi(../) |