Issue with embed

  • Author
    Posts
  • #108141

    I’m technically using Verdant, a child a kahuna, but I didn’t see a Verdant forum so I’m posting here.

    I’ve been trying to make a game launcher where I can put some mini HTML5 games I’ve been working on into a post/page and have it played online via browser.

    I first tried to embed using wordpress’s native embed function. That failed.

    I saw someone with a working game launcher on their site, and I asked them how. They shared the following code with me:

    http://http//game.url
    
    <script language="text/javascript">
    object.game {
    align: middle;
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    height: 800px;
    border-style: solid;
    border-color: #222222;
    border-width: 5px;
    }
    </script>
    

    I added the game class to the custom css, and placed the html in a custom html block. In the editor: it appears to work fine. The game screen comes up, the music plays. But when I try to view it on the published page, no music, no screen.

    I was originally going to post this as a wordpress bug, but to be thorough I deactivated Kahuna and activated the default 2020 wordpress theme, since if I was doing support at wordpress that would probably be one of my first suggestions at troubleshooting.

    Since the embed worked as intended on the default 2020 theme I can only assume this is a kahuna/verdant bug.

    I’m using what I believe is the current version of wordpress (5.5.1) with Verdant 1.0.0 and Kahuna 1.6.1.1

    Server is running ubuntu 18 with nginx and php 7.4

    If there’s any other information i can provide to assist in diagnosing this bug, please advise.

Viewing 1 post (of 1 total)

The topic ‘Issue with embed’ is closed to new replies.