leopoli Posted June 11, 2015 Share Posted June 11, 2015 Hello ! I added a video in my description category, and I want it to play automatically (it's a silent video). But the decription editor would not keep the autoplay="autoplay" instruction (or the loop instruction) :http://fredsathalshop.rockcom.fr/index.php?id_category=16&controller=category&id_lang=2 It works fine with the Home Page Editor module : http://fredsathalshop.rockcom.fr/ Could you help me make it work on categories? Many thanks in advance Link to comment Share on other sites More sharing options...
NemoPS Posted June 13, 2015 Share Posted June 13, 2015 Classes/category.php public static function getDescriptionClean($description) { return Tools::getDescriptionClean($description); }change that topublic static function getDescriptionClean($description) { return $description; } It will not strip them, hopefully Link to comment Share on other sites More sharing options...
steviep Posted June 14, 2015 Share Posted June 14, 2015 (edited) Hi! I'm having the same issue for Product description, the autoplay and loop attributes are removed when i Save. Nemo1, based on your suggestion i'm looking at classes\Product.php, but im not too sure if this is the right place. Thanks guys! UPDATE: I turned off "Use HTMLPurifier Library" in the back off under Preferences/General and now it works! Edited June 14, 2015 by steviep (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now