Tagul not working for me in Mahara

13 years ago
Hi there
I'm trying to embed a Tagul object into a view in Mahara and I can't seem to make it play the game.
I've tried embedding using the html code in a text box, and uploading it as a html file. As yet all I see is a blue box.
Here's the code I'm trying to use.
Thanks
'<object width="500" height="333" type="application/x-shockwave-flash" data="http://cdn.tagul.com/cloud.swf">;
&lt;param name="movie" value="http://cdn.tagul.com/cloud.swf"></param>;
&lt;param name="flashvars" value="id=18386@1"&gt;
&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;
&lt;param name="swfversion" value="10"/&gt;
&lt;param name="expressinstall" value="http://cdn.tagul.com/expressInstall.swf"/>;
&lt;embed src="http://cdn.tagul.com/cloud.swf" type="application/x-shockwave-flash" allowscriptaccess="always" width="500" height="333" flashvars="id=18386@1"&gt;&lt;/embed&gt;
&lt;/object&gt;'

13 years ago

I've checked your cloud and it seems ok. Please find the below code that works fine for me.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>My cloud</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

        <script type="text/javascript"
          src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js">
        </script>

        <script type="text/javascript">
            swfobject.embedSWF("http://cdn.tagul.com/cloud.swf", "myCloud",
              "600", "600", "10.0.0", "http://cdn.tagul.com/expressInstall.swf",
              {id: "18386@1"}, {allowscriptaccess: "always"});
        </script>

    </head>
    <body>
        <div id="myCloud">
            <p><a href="http://www.adobe.com/go/getflashplayer">
                <img
                  src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
                  alt="Get Adobe Flash player" />
            </a></p>
        </div>
    </body>

</html>

Reply

Sign up or Login to post a reply.