Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-07-26 15:11:49

waltergropius
New member
Registered: 2008-07-26
Posts: 1

How to enable GetHtml method (I need to embed Flash videos)

Hi everyone

Would really appreciate some help on this. I have installed Xinha on several of my clients' websites and one of them has recently tried to embed a YouTube video on a page of his website, but every time he tries to do so, Xinha removes the Flash code. I've done some pretty extensive Googling and it seems the GetHtml method is what I need. The link to this is here:

http://xinha.webfactional.com/wiki/GetHtml

However, all it says is:

   You can enable this by setting xinha_config.getHtmlMethod to "TransformInnerHTML"

I'm not exactly a code boffin and I'm certainly not experienced with Xinha - could somebody please explain in plain English how I enable the GetHtml method? In other words, which file do I edit and what code do I add/edit exactly?

Many thanks for your time

Adam

Offline

#2 2008-07-28 12:14:06

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: How to enable GetHtml method (I need to embed Flash videos)

http://xinha.webfactional.com/wiki/NewbieGuide

  /** STEP 3 ***************************************************************
   * We create a default configuration to be used by all the editors.
   * If you wish to configure some of the editors differently this will be
   * done in step 5.
   *
   * If you want to modify the default config you might do something like this.
   *
   *   xinha_config = new Xinha.Config();
   *   xinha_config.width  = '640px';
   *   xinha_config.height = '420px';
   *
   *************************************************************************/

James Sleeman

Offline

#3 2012-09-21 10:21:35

mekha
New member
Registered: 2012-09-21
Posts: 3

Re: How to enable GetHtml method (I need to embed Flash videos)

yes can someone explain it for us ?

Offline

Board footer

Powered by FluxBB