{"action":"created","issue":{"url":"https://api.github.com/repos/calzoneman/sync/issues/735","repository_url":"https://api.github.com/repos/calzoneman/sync","labels_url":"https://api.github.com/repos/calzoneman/sync/issues/735/labels{/name}","comments_url":"https://api.github.com/repos/calzoneman/sync/issues/735/comments","events_url":"https://api.github.com/repos/calzoneman/sync/issues/735/events","html_url":"https://github.com/calzoneman/sync/issues/735","id":304038754,"number":735,"title":"[Feature Request] Add https://embed.nicovideo.jp/ to the list of sites that can be embedded.","user":{"login":"IamTenko","id":37233034,"avatar_url":"https://avatars2.githubusercontent.com/u/37233034?v=4","gravatar_id":"","url":"https://api.github.com/users/IamTenko","html_url":"https://github.com/IamTenko","followers_url":"https://api.github.com/users/IamTenko/followers","following_url":"https://api.github.com/users/IamTenko/following{/other_user}","gists_url":"https://api.github.com/users/IamTenko/gists{/gist_id}","starred_url":"https://api.github.com/users/IamTenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamTenko/subscriptions","organizations_url":"https://api.github.com/users/IamTenko/orgs","repos_url":"https://api.github.com/users/IamTenko/repos","events_url":"https://api.github.com/users/IamTenko/events{/privacy}","received_events_url":"https://api.github.com/users/IamTenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-10T03:50:52Z","updated_at":"2018-03-12T00:09:08Z","closed_at":null,"author_association":"NONE","body":"Recently nicovideo has finally made his videos embeddable and visible even if you are not logged into the site. You can do so by changing the domain of the site into embed.nicovideo.jp. Example: https://embed.nicovideo.jp/watch/sm29744946\r\n\r\nI wanted to ask if it's possible to add it to the sites that can be embedded in cytube. I'd appreciate it a lot. \r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/calzoneman/sync/issues/comments/372162166","html_url":"https://github.com/calzoneman/sync/issues/735#issuecomment-372162166","issue_url":"https://api.github.com/repos/calzoneman/sync/issues/735","id":372162166,"user":{"login":"calzoneman","id":385672,"avatar_url":"https://avatars2.githubusercontent.com/u/385672?v=4","gravatar_id":"","url":"https://api.github.com/users/calzoneman","html_url":"https://github.com/calzoneman","followers_url":"https://api.github.com/users/calzoneman/followers","following_url":"https://api.github.com/users/calzoneman/following{/other_user}","gists_url":"https://api.github.com/users/calzoneman/gists{/gist_id}","starred_url":"https://api.github.com/users/calzoneman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calzoneman/subscriptions","organizations_url":"https://api.github.com/users/calzoneman/orgs","repos_url":"https://api.github.com/users/calzoneman/repos","events_url":"https://api.github.com/users/calzoneman/events{/privacy}","received_events_url":"https://api.github.com/users/calzoneman/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T00:09:07Z","updated_at":"2018-03-12T00:09:07Z","author_association":"OWNER","body":"For CyTube to make use of a video provider, it needs 2 things:\r\n\r\n  1. A metadata API used by the server to retrieve information about the video (title, duration, etc.)\r\n  2. A player API used by the browser to control the video\r\n\r\nFor nicovideo, I can't find any official documentation about either of these.  For (1), it looks like some people have uncovered the internal endpoints that expose metadata ([example](http://ext.nicovideo.jp/api/getthumbinfo/sm29744946)), but I was unable to find any resources, official or otherwise, about whether (2) is possible, even after poking around the player code itself.\r\n\r\nUnfortunately, this means I'll have to close this issue as infeasible to implement.  You can use the following embed code to dump the iframe in directly, but CyTube won't be able to synchronize it:\r\n\r\n```html\r\n<!-- paste into the custom embed entry, the 4 squares icon next to the normal video add button -->\r\n<iframe src=\"https://embed.nicovideo.jp/watch/sm29744946\"></iframe>\r\n```"}}
{"actor":{"display_login":"calzoneman"}}