![](https://secure.gravatar.com/avatar/4c25dd2bd0388fceac52d6e528413e5c?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Player breaks when display:none
For our site, I need to be able to hide and show the player, however, using display:none causes the player to break. This appears to happen when I use the xml file, but not when i directly point to an mp4. I am using content stored on the jw platform.
I've created a pastebin that shows the issue. I couldn't put it on jsfiddle because of http/s cross domain issues.
http://pastebin.com/PRjs9Nqm
When the container is hidden, the player completely breaks with no errors. Even If I pause the video before hiding, it will still break. For our site, I'm currently using the old hack of moving it -99999px... which works but isn't ideal
I saw there were other people with similar display:none issues but it's been a while since those posts and a new v7 player, so was wondering if there would be a fix to this issue