ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Randomizer PI HTML?

February 01, 2012 2:07pm

Subscribe [1]
  • #1 / Feb 01, 2012 2:07pm

    soire

    25 posts

    Hello EE family!

    I am using the Randomizer PI (v 1.1) to insert some random bits of text into my EE site (Freelancer v2.4.0 - Build: date 20120123). It is totally giving me what I need, with one strange exception.

    In one of my array “sets,” I have the following

    "yadda yadda
    <section id='video'>
    <iframe src='http://www.youtube.com/embed/xoxo' frameborder='0' allowfullscreen></iframe>
    </section>"

    xoxo is not the actual end of the url, for the sake of privacy, I’ve omitted the actual url.

    I am using FitVids.js to allow my video to stretch to follow my responsive site design. In all other instances in my site (where the iframe/content is coming from a channel entry), fitvids is totally recognizing the html/css and applying the resizing to the video. In the case of the content provided via the Randomizer PI, the fitvids is not recognizing the iframe/video, even though when I view the source, it indeed is generating the html as I’ve applied in the Randomizer PI.

    So I suppose my questions are: Does the Randomizer PI support HTML? Or perhaps it does support HTML, but it appears somewhere unexpected in the parsing order that would not allow the FtiVids.js PI to recognize its HTML?

    Gosh, I hope this makes sense!  Thank you for the assistance!

  • #2 / Feb 02, 2012 6:39pm

    Sean C. Smith

    3818 posts

    Hi soire,

    The randomzier plugin would be rendered in the exact same order as other plugins - you can see that plugins are at step 5 according to this pdf. I could use a little more context of what is going on here.

    Could you post more of your template including the randomizer tag. And the jquery script. When you post your jquery here you’ll have to add a space between the open angle bracket and the word script or the forum will eat it. alternatively you could use a pastie

    Sean

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases