hypweb.net
XOOPSマニア  最新情報のRSS(サイト全体)
[ 自宅サーバーWebRing |ID=54 前後5表示乱移動サイト一覧 ]

TOP » xpwiki » calendar xpWiki開発日記/2010.07
Archives
2006
1 2 3 4 5 6 7 8 9 10 11 12
2007
1 2 3 4 5 6 7 8 9 10 11 12
2008
1 2 3 4 5 6 7 8 9 10 11 12
2009
1 2 3 4 5 6 7 8 9 10 11 12
2010
1 2 3 4 5 6 7 8 9 10 11 12
2011
1 2 3 4 5 6 7 8 9 10 11 12
2012
1 2 3 4 5 6 7 8 9 10 11 12
2013
1 2 3 4 5 6 7 8 9 10 11 12
2014
1 2 3 4 5 6 7 8 9 10 11 12
2017
1 2 3 4 5 6 7 8 9 10 11 12
<< 2010.7 >>
[xpWiki開発日記]
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
26 27 28 29 30 31
 

Ver 4.03.11 (ref の動画ファイル対応など) anchor.png Edit

Tag: pukiwiki.ini.php

Page Top

概要 anchor.png Edit

  • グローバルサーチで、不正なリンクになることがある問題を修正
  • SWFObject を v2.2 にバージョンアップ
  • sie-mini.js を 0.60 にバージョンアップ
  • ref プラグインによるビデオコンテンツのインライン表示(添付ファイルとビデオ共有サービスのコンテンツ)
    • MIME タイプ追加
    • pukiwiki.ini.php に設定項目を追加
       55
       56
       57
       58
       59
       60
       61
       62
       63
       64
       65
       66
       67
       68
       69
       70
       71
       72
       73
       74
       75
       76
       77
       78
       79
       80
       81
       82
       83
       84
       85
       86
       87
       88
       89
       90
       91
       92
       93
       94
       95
       96
       97
       98
       99
      100
      101
      102
      103
      104
      105
      106
      107
      108
      109
      110
      111
      112
      113
      114
      115
      116
      117
      118
      119
      120
      121
      122
      123
      124
      125
      126
      127
      128
      129
      130
      131
      132
      133
      134
      135
      136
      137
      138
      139
      140
      141
      142
      143
      144
      145
      146
      147
      148
      149
      150
      151
      152
      153
      154
      155
      156
      157
      158
      159
      160
      161
      162
      163
      164
      165
      166
      167
      168
      169
      170
      171
      172
      173
      174
      175
      176
      177
      178
      179
      180
      181
      182
      183
      184
      185
      186
      187
      188
      189
      190
      191
      192
      193
      194
      195
      196
      197
      198
      199
      200
      201
      202
      203
      204
      205
      206
      207
      208
      209
      210
      211
      212
      213
      214
      215
      216
      217
      218
      219
      220
      221
      222
      223
      224
      225
      226
      227
      228
      229
      230
      231
      232
      233
      234
      
      // 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);
  • ref プラグインのブロック型に "caption" オプションを追加した。
  • googlemaps2 プラグインでの携帯用表示に Google Map へのリンクを追加した。
  • googlemaps2 プラグインでオートズームを指定した場合、マーカーが2つ以上ないとオートズームが有効にならないようにした。
Page Top

ref プラグインでの動画インライン表示について anchor.png Edit

あとで書きます。 :-P

Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 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)
  • 2010-07-25 15:53 nao-pon
  • 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)
  • 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)
  • 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 (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()".
Page Top

一行コメント anchor.png Edit




トップ 印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
このページのTopへ
メインメニュー
ログイン

ユーザー名:


パスワード:





パスワード紛失  |新規登録
オンライン状況
422 人のユーザが現在オンラインです。 (6 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 422

もっと...
サイト情報