Coder Social home page Coder Social logo

shinosaki / danmaku-viewer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

ニコ生の録画をコメント付きで再生するプレイヤー / NicoNico Live viewer with weizhenye/Danmaku

Home Page: https://shinosaki.github.io/danmaku-viewer/

License: MIT License

HTML 100.00%
danmaku danmaku-player danmu nicolive

danmaku-viewer's Introduction

danmaku-viewer

NicoNico Live viewer with weizhenye/Danmaku

ニコ生の録画ファイルをコメント付きで再生するプレイヤーです。ブラウザで動作します。
コメントの表示には weizhenye/Danmaku を使用しています。

動作例

Usage / 使い方

Drag and drop the video/comment files to the top of the page.

ページ上部の枠に、動画ファイルとコメントファイルをドラッグ&ドロップします。もしくは、枠内をクリックして動画ファイルとコメントファイルを選択します。

コメントファイルはこのようなJSON形式のファイルです。

[
  {"thread":{"resultcode":0,"thread":"M.HS-SsES_iNE2we_ZUyzzCQ","revision":1,"server_time":1703500279,"last_res":null,"ticket":"c2fb418"}},
  {"chat":{"thread":"M.HS-SsES_iNE2we_ZUyzzCQ","no":1,"vpos":2160,"date":1703500281,"date_usec":609415,"name":"ワニノコ","user_id":"116054870","premium":1,"content":""}},
  {"chat":{"thread":"M.HS-SsES_iNE2we_ZUyzzCQ","no":2,"vpos":2211,"date":1703500282,"date_usec":119524,"name":"たかぽりにあす","user_id":"30678345","premium":1,"content":"焦らないで焦らないで焦らないで焦らないで焦らないで焦らないで焦らないで焦らないで焦らないで"}},
  {"chat":{"thread":"M.HS-SsES_iNE2we_ZUyzzCQ","no":3,"vpos":2273,"date":1703500282,"date_usec":733925,"mail":"184","user_id":"Xw55LR1yc-yZGzk5Nhal5y9aGYY","anonymity":1,"content":"なんでや"}},
  {"chat":{"thread":"M.HS-SsES_iNE2we_ZUyzzCQ","no":4,"vpos":2593,"date":1703500285,"date_usec":934872,"mail":"184","user_id":"e7RKrVd_FrneHlck05i7z_ES1x0","premium":3,"anonymity":1,"content":"/info 10 「料理」が好きな3人、「コスプレ」が好きな3人が来場しました"}},
  {"chat":{"thread":"M.HS-SsES_iNE2we_ZUyzzCQ","no":5,"vpos":2833,"date":1703500288,"date_usec":337545,"mail":"184","user_id":"xaLsoaOrtveZzfOYpCqf8AEsdt0","premium":1,"anonymity":1,"content":"真顔でたすかる"}}
]

Youtube

ページ上部のYoutube IDにYoutubeの動画ID(例:jNQXAC9IVRw)を入力した後、コメントファイルを選択することで、Youtube埋め込みプレイヤー上にコメントを表示できます。

Dependencies

LICENSE

MIT

danmaku-viewer's People

Contributors

shinosaki avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.