{"action":"created","issue":{"url":"https://api.github.com/repos/videogular/videogular/issues/322","repository_url":"https://api.github.com/repos/videogular/videogular","labels_url":"https://api.github.com/repos/videogular/videogular/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/videogular/videogular/issues/322/comments","events_url":"https://api.github.com/repos/videogular/videogular/issues/322/events","html_url":"https://github.com/videogular/videogular/issues/322","id":133375352,"number":322,"title":"Autohide option doesn't seem to be working...?","user":{"login":"jmwohl","id":266111,"avatar_url":"https://avatars.githubusercontent.com/u/266111?v=3","gravatar_id":"","url":"https://api.github.com/users/jmwohl","html_url":"https://github.com/jmwohl","followers_url":"https://api.github.com/users/jmwohl/followers","following_url":"https://api.github.com/users/jmwohl/following{/other_user}","gists_url":"https://api.github.com/users/jmwohl/gists{/gist_id}","starred_url":"https://api.github.com/users/jmwohl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmwohl/subscriptions","organizations_url":"https://api.github.com/users/jmwohl/orgs","repos_url":"https://api.github.com/users/jmwohl/repos","events_url":"https://api.github.com/users/jmwohl/events{/privacy}","received_events_url":"https://api.github.com/users/jmwohl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/videogular/videogular/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-13T00:11:37Z","updated_at":"2016-02-18T17:18:52Z","closed_at":"2016-02-13T13:09:59Z","body":"I'm likely doing something wrong, but after updating to the latest videogular (1.4.1), the autohide functionality doesn't seem to work on the vg-controls directive. No errors or anything, but the controls don't get hidden.\r\n\r\nIs this a bug, or can someone point me in the right direction?\r\n\r\nI'm using it as follows:\r\n```\r\n<vg-controls vg-autohide=\"true\" vg-autohide-time=\"2000\">\r\n\t<vg-play-pause-button />\r\n\t<vg-time-display>{{ currentTime | date:'mm:ss' }}</vg-time-display>\r\n\t<vg-scrub-bar>\r\n\t\t<vg-scrub-bar-current-time />\r\n\t</vg-scrub-bar>\r\n\t<vg-time-display>{{ timeLeft | date:'mm:ss' }}</vg-time-display>\r\n\t<vg-volume>\r\n\t\t<vg-mute-button />\r\n\t\t<vg-volume-bar />\r\n\t</vg-volume>\r\n\t<vg-fullscreen-button />\r\n</vg-controls>\r\n```"},"comment":{"url":"https://api.github.com/repos/videogular/videogular/issues/comments/185821763","html_url":"https://github.com/videogular/videogular/issues/322#issuecomment-185821763","issue_url":"https://api.github.com/repos/videogular/videogular/issues/322","id":185821763,"user":{"login":"Elecash","id":790704,"avatar_url":"https://avatars.githubusercontent.com/u/790704?v=3","gravatar_id":"","url":"https://api.github.com/users/Elecash","html_url":"https://github.com/Elecash","followers_url":"https://api.github.com/users/Elecash/followers","following_url":"https://api.github.com/users/Elecash/following{/other_user}","gists_url":"https://api.github.com/users/Elecash/gists{/gist_id}","starred_url":"https://api.github.com/users/Elecash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elecash/subscriptions","organizations_url":"https://api.github.com/users/Elecash/orgs","repos_url":"https://api.github.com/users/Elecash/repos","events_url":"https://api.github.com/users/Elecash/events{/privacy}","received_events_url":"https://api.github.com/users/Elecash/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T17:18:52Z","updated_at":"2016-02-18T17:18:52Z","body":"You can use just a `ng-show` and that's all.\r\n\r\nOn your html:\r\n\r\n```html\r\n<videogular vg-update-state=\"ctrl.onUpdateState($state)\">\r\n    <vg-controls ng-show=\"ctrl.hasBeenPlayed\">\r\n```\r\n\r\nOn your controller:\r\n\r\n```js\r\nfunction() {\r\n    this.hasBeenPlayed = false;\r\n\r\n    this.onUpdateState = function($state) {\r\n        if ($state === 'play') this.hasBeenPlayed = true;\r\n    };\r\n}\r\n```\r\n"}}