We run a community site for teachers who are using the Bootstrap curriculum to teach computer science inside mainstream math, science, and social studies classes. Our IDE is cloud-based, so we have the ability to embed an instance of it inside a post on Discourse – this is freaking awesome, and we’re already thrilled to have moved to the platform based on this one feature alone.
However, there’s plenty of content we’d like to embed this way, and some of it is wider than the post width will allow. Customizing the CSS to permit wider posts hasn’t been fruitful, and ultimately what I’d love is for IFRAMEs to be treated the same way as images: a thumbnail is shown, but clicking it opens a shadowbox that’s as wide as the browser window.
I’ve never messed with Discourse plugin development before, but I could also imagine some kind of Onebox extension that takes URLs matching a particular pattern and generates the appropriate markup. Perhaps there’s an easier way? Curious if anyone else has run into this use-case.