![](https://secure.gravatar.com/avatar/0dc7f54522ea3e6cbe247e41af529a78?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Add CSS style attribute value to player wrapper
In order to get the player to align properly with surrounding content, I need to add a "clear: both" style attribute value to the _wrapper container. In looking at the configuration options, this does not seem to be an option, and I don't see a way to add arbitrary style attributes. I've tried adding it directly to the container after the call to .jwplayer():
$(wrapperSelector).css('clear', 'both');
where wrapperSeletcor is the ID of the div element (e.g. selector-id_wrapper), but that isn't working either. Is there an easy way to add this attribute value via jwplayer config, or do I have to add it separately?
Thanks.