• Resolved bethfly

    (@bethfly)


    I’ve been using Link Library successfully for years. I have a list of video links with the embed code for the video in the Large Description field. If you click the link below and scroll down to the bottom section where the videos are displayed, you will see that the first two links are missing their embedded videos, but the links that follow do display their videos. That’s because I tried to edit the first two today and lost the embed code. The rest of the videos are still embedded because I haven’t tried to edit them today.

    I am unable to get the videos to show up whether using iframe tags or using embed shortcode. iframe tags disappear from the Large Description field when I click the Update button in the editor. embed shortcode does not disappear from the Large Description field, but the code is apparently stripped out when I view the page on the front end.

    I don’t know when this issue started because I haven’t tried to edit those links in years.

    I am using Link Library version 7.5.10. Just updated it today.

    • This topic was modified 2 years, 4 months ago by bethfly. Reason: Changed "link above" to "

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    I’ve had to put in filtering rules for a lot of these configuration fields since leaving people write anything in them was a security risk for XSS scripting attacks. IFrame was an HTML tag that I had not put into the white list of tags and I just added it to the list. You’ll need to update once more to get that.

    For the embed tag, WordPress treats that embed shortcode tag differently than other shortcodes. As such, my code was not making sure to process it properly for large description. I have made a fix so that it will now.

    Please let me know if this resolves your issues and consider donating to support this plugin’s development.

    Thread Starter bethfly

    (@bethfly)

    Hi, Yannick. The embed shortcode is working now in the Large Description field, but the iframe tag is still being stripped out when I click the “Update” button.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Sorry about that. I forgot to add all of the allowed parameters for the iframe tag. I had not used it in some time. Please update again and let me know if the iframe tag stops being stripped now. Please consider donating to support this plugin’s development. Cheers!

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Were you now able to get your iframe working with the latest update?

    Thread Starter bethfly

    (@bethfly)

    Sorry for the delay. Yes, it is working now. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘iframe tag and embed shortcode stripped out of Large Description field’ is closed to new replies.