Forums | Mahara Community

Open Discussion /
Google Hangouts


anonymous profile picture
Deleted user
Posts: 33

31 March 2014, 1:02 PM

I am trying to make the following peice of code work in Mahara 1.8.*

<scripttype="text/javascript"src="https://apis.google.com/js/platform.js"></script>
<divclass="g-hangout"data-render="createhangout"></div>

It is a HTML5 script to launch a Hangout. When I enter it as raw HTML IE swithch to out of Tinymce, the code gets altered and wont work.
Is there a work around for this?

The advantages are if local rules allow we can make Mahara a little more social.
Kristina Hoeppner's profile picture
Posts: 3601

08 June 2014, 9:08 PM

Hello John,

The code is stripped out by HTML Purifier because it contains unverified Javascript. In order to make it work in Mahara, a filter would need to be written to "whitelist" this particular Javascript.

Cheers

Kristina

 

2 results