Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1278394

    joshnwarren
    Participant

    I’m trying to embed this code

    <center> <iframe width="400" height="400" style="border:none;" src="http://output64.rssinclude.com/output?type=iframe&id=1110290&hash=8eaea2e8a83f3f9684cefb1290363adf"></iframe> </center>

    in my slider but it won’t show up when I view the website. Weirdly I can see it during the preview of the slider though.

    the website is http://www.northstateoutdoors.com/

    #1278414

    Rupok
    Member

    Hi there,

    Kindly follow the Revolution Slider Documentation

    Cheers!

    #1278476

    joshnwarren
    Participant

    alright i added

    `.my-special-embed,
    .my-special-embed .tp-loop-wrap,
    .my-special-embed .tp-mask-wrap,
    .my-special-embed .tp-caption,
    .my-special-embed iframe {

    width: 100% !important;
    height: 100% !important;

    }

    .my-special-embed .tp-caption {

    max-width: none !important;
    max-height: none !important;

    }`

    to my css and

    /*
    replace the "40" in the "revapi40" part below with your slider's ID
    http://tinyurl.com/zb6hzpc
    */
    var api = revapi40.on('revolution.slide.onloaded', function() {
     
        api.find('.tp-caption').not('.tp-videolayer').children('iframe').closest('.tp-parallax-wrap').addClass('my-special-embed');
     
    });

    to my javascript

    it seemed to fix it.

    #1278477

    Friech
    Moderator

    Glad you sorted things out,

    Cheers!