ダウンロード時のHTML/CSSを以下に示します。
下記の初期状態HTML/CSSファイルは"(NicoPlayerのインストールフォルダ)\archive\videoinfo\"にあります。また、編集したファイルを元に戻したい場合は、ファイルを削除することで初期状態のファイルが自動生成されます。(archiveフォルダからコピーされる)
reading.html
<html> <head> </head> <body> 読み込み中... </body> </html>
error.html
<html> <head> </head> <body> 読み込みに失敗しました。<br> 詳細は情報ウィンドウ(F9)を参照して下さい。<br> </body> </html>
template.html
<!-- NicoPlayer Option="" --> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Style-Type" content="text/css"> <script type="text/javascript" src="prototype.js"></script> <script type="text/javascript" src="nicoplayer.js"></script> <link rel="stylesheet" type="text/css" charset="utf-8" href="http://res.nicovideo.jp/css/common.css?080306"> <link rel="stylesheet" href="style.css" type="text/css"> <base href="http://www.nicovideo.jp/"> </head> <body> <p class=post><strong>%__POST__%</strong> 投稿</p> <h1><a class=video href="http://www.smilevideo.jp/view/%__MOVIE_ID__%/">%__TITLE__%</a></h1> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <script type="text/javascript"><!-- np.drawThumbnail( np.getThumbnailSource( "%__MOVIE_ID__%", "%__THUMBNAIL_PATH2__%" ) ); --></script> <p class=comment>%__COMMENT__%</p> </td> <tr> <tr> <td> <p class=counter><strong>再生</strong>:%__VIEW_COUNTER__% <strong>コメント</strong>:%__COMMENT_NUM__% <strong>マイリスト</strong>:%__MYLIST_COUNTER__%</p> <table width="100%" border="0" cellspacing="4" cellpadding="0" summary="登録タグ"> <tr> <td><img src="%__SOFT_DIR__%\videoinfo\tag.png" alt="登録タグ"></td> <td width="100%"><p class=tag>%__TAGS__%</p></td> </tr> </table> </td> <tr> </table> <script type="text/javascript" src="http://res.nicovideo.jp/js/swfobject.js?4"></script> <script type="text/javascript"><!-- var so = new SWFObject(); so.addVariable("v", "%__MOVIE_NAME__%"); --></script> <script type="text/javascript"><!-- var user_id = ''; var video_id = '%__MOVIE_NAME__%'; --></script> <script type="text/javascript" charset="utf-8" src="/js/ichiba.js?rev=20071015" defer="defer"></script> <div class="mb16p4"> <div style="background:#F9FAFA; border:solid 1px #CCC; padding:7px;"> <div id="ichiba_placeholder"></div> </div> </div> </body> </html>
template_off.html
<!-- NicoPlayer Option="" --> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Style-Type" content="text/css"> <script type="text/javascript" src="prototype.js"></script> <script type="text/javascript" src="nicoplayer.js"></script> <link rel="stylesheet" href="style.css" type="text/css"> <base href="http://www.nicovideo.jp/"> </head> <body> <p class=post><strong>%__POST__%</strong> 投稿</p> <h1><a class=video href="http://www.smilevideo.jp/view/%__MOVIE_ID__%/">%__TITLE__%</a></h1> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <script type="text/javascript"><!-- var pathThumbnail = "%__THUMBNAIL_PATH2__%"; if( pathThumbnail ) { np.drawThumbnail( pathThumbnail ); } --></script> <p class=comment>%__COMMENT__%</p> </td> <tr> <tr> <td> <p class=counter><strong>再生</strong>:%__VIEW_COUNTER__% <strong>コメント</strong>:%__COMMENT_NUM__% <strong>マイリスト</strong>:%__MYLIST_COUNTER__%</p> <table width="100%" border="0" cellspacing="4" cellpadding="0" summary="登録タグ"> <tr> <td><img src="%__SOFT_DIR__%\videoinfo\tag.png" alt="登録タグ"></td> <td width="100%"><p class=tag>%__TAGS__%</p></td> </tr> </table> </td> <tr> </table> <br> </body> </html>
style.css
a:link { color: #222; text-decoration: underline; } a:visited { color: #444; text-decoration: underline; } a:hover { color: #666; text-decoration: none; } a:active { color: #666; text-decoration: none; } a.video { font-weight: bold } a.video:link { color: #579; text-decoration: underline } a.video:visited { color: #135; text-decoration: underline } a.video:hover { background: #357; color: #fff; text-decoration: none } a.video:active { background: #357; color: #fff; text-decoration: none } /*===============================================*/ body { font-family: MS Pゴシック,arial; margin:4px 4px; background:#FFF; } h1 { font-size: 20px; line-height: 24px; padding-right: 0px; padding-left: 0px; padding-top: 1px; padding-bottom: 0px; margin: 0px; } p { padding-right: 0px; padding-left: 0px; padding-top: 0px; padding-bottom: 0px; margin: 0px; } p.post { font-size: 12px; } p.comment { font-size: 12px; } p.counter { font-size: 12px; } p.tag { font-size: 12px; }