Turning a topic into interactive fiction ;)

:information_source: check out the plugin version of this here: Discourse Frotz 🧙

After whitelisting the URL, I embedded this iframe into a post in the Lounge for a bit of fun.

Result?: A fully working piece of classic Interactive Fiction embedded in a post that doesn’t look too out of place :slight_smile: (although you do need to manually scroll)

Why?: because you can

<iframe src="https://iplayif.com/?story=http%3A%2F%2Fwww.douglasadams.com%2Fcreations%2Fhhgg.z3" width="800" height="800" frameborder="0"></iframe>

Feel free to pull me up on security if you believe this is opening a hole … but iplayif.com is legit, I believe, here’s its GitHub page

In case you are not a Douglas Adams fan, you can find much more great work here.

11개의 좋아요

Thanks!

I hadn’t used the Admin / Settings / Security / allowed iframes config setting before, but putting in https://iplayif.com/ in there and adding that iframe into a post worked great.

3개의 좋아요

Yeah, it’s amazing how seamless the result can look :slight_smile:

PS Please don’t let it distract you too much from your interesting project, though :wink:

Oh wauw - only just discovered this, but THANK YOU!

Well, there goes my Sunday …

1개의 좋아요

어떻게 이걸 발견하게 되었는지는 모르겠지만, 정말 재미있어요. Media Overlay component 과 함께 사용하면 게임을 팝업으로 띄워두고 나머지 포럼을 계속 둘러볼 수 있어요. 다만 iframe의 너비를 조금 줄여야 페이지를 너무 많이 가리지 않습니다. width="400"이 잘 작동하는 것 같아요.

1개의 좋아요

좋아요, 이걸 좀 더 발전시켜 봤습니다 … 지켜봐 주세요 :wink:

4개의 좋아요

위 프로토타입은 지금 여기에 공개되었습니다: Discourse Frotz 🧙 - #2 by merefield

2개의 좋아요

정말 멋진데요! 저는 Parchment/iplayif.com의 유지보수자라서, 이 프로젝트가 실제로 사용되고 있는 모습을 보니 기쁩니다.

불행히도 최근에는 시간과 에너지가 부족해서 크게 작업할 수 없었습니다. iframe에 임베드되었을 때의 동작 방식을 개선하고 싶습니다.

4개의 좋아요

안녕하세요 @Dannii, 만나서 반갑습니다. 스토리 기능은 아주 잘 작동하네요. 아주 사소한 스크롤 문제만 제외하면요. 훌륭한 레거시를 유지하기 위해 수고해 주셔서 감사합니다!

1개의 좋아요