Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed cors ascii rick roll instead of opening gif in new window #85

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

jandobrx
Copy link

We saw that a recent PR featured a rick roll curl, thought it was a great addition but had a CORS issue. Wanted to fix it!

Old
Updated Xterm to the new version, fixed cursor position bug after setCurrentLine(), added a video that appends in the DOM.
New

Test Netlify Deployment w/changes:
https://main--test-cli-rick.netlify.app/

@ledwards
Copy link
Contributor

omg amazing

This has been on my feature list for over a year and never really gotten around to it. Thank you!!

Your test deployment shows it working on desktop for me (Chrome and Safari for Mac) but not getting it to work on mobile (mobile Safari) - it shows Nice try but then a bunch of blank lines.

Given we're a VC website, iOS is actually our #1 platform haha - this is so close, I'll try to dig into debugging it on mobile Safari and then I 100% want to merge. Thank you!!

gurgenbrx added 2 commits May 22, 2024 22:10
This commit switches from injecting a video, to using a 54 frame ASCII Rick Roll.
Note that Mobile and Desktop versions contain two different AA Arrays due to resolution constrains.
@jandobrx
Copy link
Author

We were super excited to hear that! @gurgenbrx pushed another version last night with a fix to the mobile/Safari! Also seems to be a strange bug I was able to load it on my iphone/safari, I believe it was an issue with netlify serving video as a CDN!

The new patch should fix all the views for mobile! We also used the 40 line convention to switch a view for the main ASCII animation from desktop to mobile!

Fortunately when dealing in the tokenization world we've become experts with characters and ascii manipulation :) There's also a quick AA tutorial if you want to turn any other video/image into this format! e25150d

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants