This is a message.

Content plugin rendering HTML in a strange way Created Dec 11, 2008

This thread is solved

Views: 2128     Replies: 3     Last reply Dec 11, 2008  
You must login first before you can use this feature

anil

Posts: 15

Registered:
Nov 19, 2008

Content plugin rendering HTML in a strange way

Posted: Dec 11, 2008

I am using the Content to display "Related Content" when a video is finished playing. Here is the demo:

http://demos.anilmakhijani.com/flow_demo/index.html.7

Unfortunately, the HTML seems to render a bit strange. I want to display the thumbnails and then the titles below them. Making the images block level elements ("display: block") should keep the titles from floating to the left, but that doesn't seem to work. Any suggestions on how to fix this how the rendering?

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1868

Registered:
Nov 16, 2007

» Content plugin rendering HTML in a strange way

Posted: Dec 11, 2008

Reply to: Content plugin rendering HTML in a strange way, from anil
the HTML supported in content plugin is *very* limited and you can only use the tags and style properties described in the content plugin documentation.

anil

Posts: 15

Registered:
Nov 19, 2008

» » Content plugin rendering HTML in a strange way

Posted: Dec 11, 2008

Reply to: » Content plugin rendering HTML in a strange way, from tipiirai
Thank you for the quick reply. However the documentation claims that it supports p and img tags. I am using the following markup:


<p><img src="http://www.streetfilms.org/wp-content/uploads/2008/10/alewife-bike-cage-poster.thumbnail.jpg" /></p><p>Test caption</p>

This markup looks very different using the flash content plugin http://demos.anilmakhijani.com/flow_demo/index.html.10 ) than on a plain HTML page http://demos.anilmakhijani.com/flow_demo/plainhtml.html )

Any ideas on how to fix this?

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1868

Registered:
Nov 16, 2007

» » » Content plugin rendering HTML in a strange way

Posted: Dec 11, 2008

Reply to: » » Content plugin rendering HTML in a strange way, from anil
We are using Flash TextField for the HTML rendering. It's out of our hand how it does it. Look for details on that page. If you can find anything interesting please inform me. Thanks.