{"action":"created","issue":{"url":"https://api.github.com/repos/2fdevs/videogular/issues/292","labels_url":"https://api.github.com/repos/2fdevs/videogular/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/2fdevs/videogular/issues/292/comments","events_url":"https://api.github.com/repos/2fdevs/videogular/issues/292/events","html_url":"https://github.com/2fdevs/videogular/issues/292","id":112900734,"number":292,"title":"Adding directly to the video tag","user":{"login":"grzesir","id":1148971,"avatar_url":"https://avatars.githubusercontent.com/u/1148971?v=3","gravatar_id":"","url":"https://api.github.com/users/grzesir","html_url":"https://github.com/grzesir","followers_url":"https://api.github.com/users/grzesir/followers","following_url":"https://api.github.com/users/grzesir/following{/other_user}","gists_url":"https://api.github.com/users/grzesir/gists{/gist_id}","starred_url":"https://api.github.com/users/grzesir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzesir/subscriptions","organizations_url":"https://api.github.com/users/grzesir/orgs","repos_url":"https://api.github.com/users/grzesir/repos","events_url":"https://api.github.com/users/grzesir/events{/privacy}","received_events_url":"https://api.github.com/users/grzesir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T22:02:21Z","updated_at":"2015-10-23T06:52:03Z","closed_at":null,"body":"Hey,\r\n\r\nI'm trying to add a poster attribute directly to the base video tag. I've tried using the poster plugin but I'm not getting the desired results (there is a black flash before the poster loads - our clients complained about this). Any way that I could add properties directly to the video tag?"},"comment":{"url":"https://api.github.com/repos/2fdevs/videogular/issues/comments/150491494","html_url":"https://github.com/2fdevs/videogular/issues/292#issuecomment-150491494","issue_url":"https://api.github.com/repos/2fdevs/videogular/issues/292","id":150491494,"user":{"login":"2fdevs","id":4632089,"avatar_url":"https://avatars.githubusercontent.com/u/4632089?v=3","gravatar_id":"","url":"https://api.github.com/users/2fdevs","html_url":"https://github.com/2fdevs","followers_url":"https://api.github.com/users/2fdevs/followers","following_url":"https://api.github.com/users/2fdevs/following{/other_user}","gists_url":"https://api.github.com/users/2fdevs/gists{/gist_id}","starred_url":"https://api.github.com/users/2fdevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2fdevs/subscriptions","organizations_url":"https://api.github.com/users/2fdevs/orgs","repos_url":"https://api.github.com/users/2fdevs/repos","events_url":"https://api.github.com/users/2fdevs/events{/privacy}","received_events_url":"https://api.github.com/users/2fdevs/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T06:52:03Z","updated_at":"2015-10-23T06:52:03Z","body":"In the API you have access to the media element to do whatever you want.\r\n\r\n    this.onPlayerReady = function (API) {\r\n        this.API = API;\r\n\r\n        var mediaElement = this.API.mediaElement[0];\r\n        // add attribute to mediaElement\r\n    };\r\n\r\nI suggest you to create your own plugin. You have a tutorial here:\r\nhttp://www.videogular.com/tutorials/creating-a-next-video-plugin/\r\n"}}