I would like to spectate any live 9x9 game (one game at a time) on my web page similar to how Lichess, Lidraughts, and Lishogi have widgets cast any live game and I can embed those on my web page.
(Technically my web page is static content on my desktop which I use when using OBS Studio to livestream software development and am writing code or waiting on a build, I can see a live chess game, a live draughts game, and a live shogi game, but not yet a live go game.)
I don’t understand, probably because I don’t know the widgets you’re talking about.
OGS games are on web pages. Why would you embed an OGS game into another web page?
Same reason you’d embed a YouTube video on another webpage
@Toadofsky one could always try an iframe… Unfortunately there is no dedicated embed link for games, so you get all the sidebars and stuff. Check out the below issue for the feature request.
@Toadofsky out of curiosity, could you share your current set up? Like a screenshot of the webpage or the page itself if publicly available?
I would be interested to see how the other sites you mentioned look, and/or how you’d expect OGS to look in a widget. Like would it be just the board?
Only works for games right now, not reviews or demos
Games cannot be played directly in the iframe, but if you click the board it will take you to the game. (Much like what happens on the Observe Games page)
Yeah so the scrollbar, I don’t have a great fix for - Discourse (our forums software) ignores the scrolling="no" and style attributes. If you’re embedding in your own website, there won’t be a scrollbar.
Regarding notifications, that’s a nasty one! Let me see what I can do. resists urge to remove popup notifications altogether
That could be a feature and not a bug We’re getting everything directly to the forums. Just slap on one of those through the years games, and you have a way to get OGS site notifications on the forums
Off-topic, but does this mean that it is technically possible to embed any custom webpage here on the forums? I’m thinking this could be somehow used to streamline our variants threads, but I couldn’t get it to work with another src in the iframe. Does the linked page need to be formatted in some specific way?
@anoek Any possibility of being allowed to embed a page such as Multi capture go? Totally get it if you don’t want to allow any external sites, but I figure asking can’t hurt The multiplayer games is one of my favorite things happening on the forums and making them more convenient for the participants would be awesome.