Hi mobilewebexpert,
Meta Slider can create valid HTML5, it doesn’t at the moment as some browsers do not correctly process the @keyframes rules in inline CSS (see https://bugzilla.mozilla.org/show_bug.cgi?id=830056).
If you install Meta Slider then add this code to your functions.php file you should get valid HTML5.
function ms_scoped() {
return ' scoped';
}
add_filter('metaslider_style_attributes', 'ms_scoped', 25, 3);
Regards,
Tom
That’s great, Tom – thank you very much. Worked a treat.
Update on this..
I’ve been working on a plugin to move the Meta Slider link, inline script and style blocks into the <head> of the page:
https://github.com/tomhemsley/ml-slider-html5
To install, click ‘Download ZIP’, then go to Plugins > Add New > Upload and select the .zip file. So far there isn’t a settings page or anything like that.
If you’re using this plugin, please let me know how it goes! I may integrate the functionality into the Meta Slider plugin if it’s working well
Regards,
Tom