-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asciinema support #1653
base: master
Are you sure you want to change the base?
Asciinema support #1653
Conversation
Hi @cookpete , Any thoughts on this? I really do think it could benefit react-player's users. Cheers, |
Hey 👋 , super cool video use case and tech. I'm still wrapping my head around the architecture of react-player, but I know one of the hesitancies Pete has had in merging more playback types is the weight of the default bundle. If you have any insights on that topic let me know. Otherwise I'll weigh in more once I understand the situation better. |
I think for the time being it’s fine to merge these extra players, with maybe some emphasis in the |
I see some references to that already. To me, it's clear enough but if you feel additional clarifications should be made then of course, I'll all for it. With regards to ASCIInema specifically, the only question I have (as per my original comment) is:
Could you share your thoughts? Cheers, |
Hey @jessp01 I see two options:
|
Hey @cookpete ,
If I could trust everyone to read, I'd vote for that but, as I think you'll agree, being well experienced, people mostly don't and then, they report issues... so, I reckon adding a Cheers, |
Hi all, Any news on this? Cheers, |
asciinema is a free and open source solution for recording terminal sessions and sharing them on the web.
Since
asciinema
is a casting format that's basically a text file rather than a video (see https://github.com/asciinema/asciinema/blob/main/doc/asciicast-v2.md), functions like volume and mute are irrelevant.Important note: In order to correctly render the player, a CSS is needed (see https://github.com/asciinema/asciinema-player/releases/download/v3.5.0/asciinema-player.css). I couldn't find a similar case in any of the other players so I wanted to consult with you as to where you feel we should commit it (or maybe you reckon it's better to include a
link
tag in therender()
function?). For now, I committed it undersrc/demo/asciinema-player.css
just to make the demo app work but of course, that should be changed.In the demo app, you'll also notice that the player's div doesn't occupy the whole width of its parent even though the style is set thusly:
more info about the reason for that can be found here: https://github.com/asciinema/asciinema-player#fit