{"action":"created","issue":{"url":"https://api.github.com/repos/asciinema/asciinema/issues/282","repository_url":"https://api.github.com/repos/asciinema/asciinema","labels_url":"https://api.github.com/repos/asciinema/asciinema/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/asciinema/asciinema/issues/282/comments","events_url":"https://api.github.com/repos/asciinema/asciinema/issues/282/events","html_url":"https://github.com/asciinema/asciinema/issues/282","id":308888968,"number":282,"title":"Playing casts inside Jupyter?","user":{"login":"deeplook","id":1001778,"avatar_url":"https://avatars2.githubusercontent.com/u/1001778?v=4","gravatar_id":"","url":"https://api.github.com/users/deeplook","html_url":"https://github.com/deeplook","followers_url":"https://api.github.com/users/deeplook/followers","following_url":"https://api.github.com/users/deeplook/following{/other_user}","gists_url":"https://api.github.com/users/deeplook/gists{/gist_id}","starred_url":"https://api.github.com/users/deeplook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeplook/subscriptions","organizations_url":"https://api.github.com/users/deeplook/orgs","repos_url":"https://api.github.com/users/deeplook/repos","events_url":"https://api.github.com/users/deeplook/events{/privacy}","received_events_url":"https://api.github.com/users/deeplook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-27T09:25:03Z","updated_at":"2018-03-31T22:58:57Z","closed_at":null,"author_association":"NONE","body":"I wonder how much effort it would be to play casts directly inside Jupyter cells? This _might_ need wrapping the text output in some thin HTML envelope, but maybe that's not even needed.\r\n\r\nI've raised an issue originally on asciinema-player here: https://github.com/asciinema/asciinema-player/issues/85, but maybe here is a good place, too, if we could show casts directly without the whole asciinema-player machinary."},"comment":{"url":"https://api.github.com/repos/asciinema/asciinema/issues/comments/377729378","html_url":"https://github.com/asciinema/asciinema/issues/282#issuecomment-377729378","issue_url":"https://api.github.com/repos/asciinema/asciinema/issues/282","id":377729378,"user":{"login":"deeplook","id":1001778,"avatar_url":"https://avatars2.githubusercontent.com/u/1001778?v=4","gravatar_id":"","url":"https://api.github.com/users/deeplook","html_url":"https://github.com/deeplook","followers_url":"https://api.github.com/users/deeplook/followers","following_url":"https://api.github.com/users/deeplook/following{/other_user}","gists_url":"https://api.github.com/users/deeplook/gists{/gist_id}","starred_url":"https://api.github.com/users/deeplook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeplook/subscriptions","organizations_url":"https://api.github.com/users/deeplook/orgs","repos_url":"https://api.github.com/users/deeplook/repos","events_url":"https://api.github.com/users/deeplook/events{/privacy}","received_events_url":"https://api.github.com/users/deeplook/received_events","type":"User","site_admin":false},"created_at":"2018-03-31T22:58:57Z","updated_at":"2018-03-31T22:58:57Z","author_association":"NONE","body":"@zodiacfireworks Thanks! It's surely wonderful to be able to run remote screencasts hosted on asciinema.org.\r\n\r\nRereading my question I admit it's not so evident, but I thought more of running a local screencast either in a \"normal\" Jupyter cell with asciinama-player. I had tried using asciinama-player on local casts, but in vain. Doing this with the familiar asciinama-player interface for local files would be very nice, too.\r\n\r\nBut, ermmm... I've just tried the most unlikely thing to do, and to my big surprise this **works**! I've simply typed `! /my/path/asciinema play demo.cast` in a code cell! And, frankly, I didn't expect this to work, but it seems like it does! The output is shown as usual, respecting timing info and ANSI escape codes. But it \"ignores\" the recorded values for the terminal's width and height, taking the full cell width and not doing any vertical windowing. But hey, this is amazing!"}}
{"actor":{"display_login":"deeplook"}}