{"action":"created","issue":{"url":"https://api.github.com/repos/ableplayer/ableplayer/issues/114","labels_url":"https://api.github.com/repos/ableplayer/ableplayer/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/ableplayer/ableplayer/issues/114/comments","events_url":"https://api.github.com/repos/ableplayer/ableplayer/issues/114/events","html_url":"https://github.com/ableplayer/ableplayer/issues/114","id":65529138,"number":114,"title":"Seekbar not loaded properly if player is initially hidden","user":{"login":"terrill","id":912874,"avatar_url":"https://avatars.githubusercontent.com/u/912874?v=3","gravatar_id":"","url":"https://api.github.com/users/terrill","html_url":"https://github.com/terrill","followers_url":"https://api.github.com/users/terrill/followers","following_url":"https://api.github.com/users/terrill/following{/other_user}","gists_url":"https://api.github.com/users/terrill/gists{/gist_id}","starred_url":"https://api.github.com/users/terrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrill/subscriptions","organizations_url":"https://api.github.com/users/terrill/orgs","repos_url":"https://api.github.com/users/terrill/repos","events_url":"https://api.github.com/users/terrill/events{/privacy}","received_events_url":"https://api.github.com/users/terrill/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ableplayer/ableplayer/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"terrill","id":912874,"avatar_url":"https://avatars.githubusercontent.com/u/912874?v=3","gravatar_id":"","url":"https://api.github.com/users/terrill","html_url":"https://github.com/terrill","followers_url":"https://api.github.com/users/terrill/followers","following_url":"https://api.github.com/users/terrill/following{/other_user}","gists_url":"https://api.github.com/users/terrill/gists{/gist_id}","starred_url":"https://api.github.com/users/terrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrill/subscriptions","organizations_url":"https://api.github.com/users/terrill/orgs","repos_url":"https://api.github.com/users/terrill/repos","events_url":"https://api.github.com/users/terrill/events{/privacy}","received_events_url":"https://api.github.com/users/terrill/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-31T19:35:10Z","updated_at":"2015-03-31T21:37:43Z","closed_at":"2015-03-31T21:37:43Z","body":"If player is initially hidden with display:none, then becomes visible dynamically, the seekbar width is not computed accurately and is set to 0px.  Once the user presses Play the width is recalculated and seekbar appears normal.  "},"comment":{"url":"https://api.github.com/repos/ableplayer/ableplayer/issues/comments/88257888","html_url":"https://github.com/ableplayer/ableplayer/issues/114#issuecomment-88257888","issue_url":"https://api.github.com/repos/ableplayer/ableplayer/issues/114","id":88257888,"user":{"login":"terrill","id":912874,"avatar_url":"https://avatars.githubusercontent.com/u/912874?v=3","gravatar_id":"","url":"https://api.github.com/users/terrill","html_url":"https://github.com/terrill","followers_url":"https://api.github.com/users/terrill/followers","following_url":"https://api.github.com/users/terrill/following{/other_user}","gists_url":"https://api.github.com/users/terrill/gists{/gist_id}","starred_url":"https://api.github.com/users/terrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrill/subscriptions","organizations_url":"https://api.github.com/users/terrill/orgs","repos_url":"https://api.github.com/users/terrill/repos","events_url":"https://api.github.com/users/terrill/events{/privacy}","received_events_url":"https://api.github.com/users/terrill/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T21:37:43Z","updated_at":"2015-03-31T21:37:43Z","body":"The seekbar width is calculated based on available width (playerWidth minus combined width of all other controls). This bug was caused by jQuery width() returning 0 for all hidden elements. Created a new function in control.js that clones the hidden element, gets the width of the clone, then removes it. \r\n\r\nFixed in 7aa7aac6068e5c3e20bd9478a2dac622a9a3b96e"}}