{"action":"created","issue":{"url":"https://api.github.com/repos/hakkens/davehakkens/issues/5","labels_url":"https://api.github.com/repos/hakkens/davehakkens/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/hakkens/davehakkens/issues/5/comments","events_url":"https://api.github.com/repos/hakkens/davehakkens/issues/5/events","html_url":"https://github.com/hakkens/davehakkens/issues/5","id":111990714,"number":5,"title":"Make embeded videos in forums full width","user":{"login":"davehakkens","id":13672737,"avatar_url":"https://avatars.githubusercontent.com/u/13672737?v=3","gravatar_id":"","url":"https://api.github.com/users/davehakkens","html_url":"https://github.com/davehakkens","followers_url":"https://api.github.com/users/davehakkens/followers","following_url":"https://api.github.com/users/davehakkens/following{/other_user}","gists_url":"https://api.github.com/users/davehakkens/gists{/gist_id}","starred_url":"https://api.github.com/users/davehakkens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehakkens/subscriptions","organizations_url":"https://api.github.com/users/davehakkens/orgs","repos_url":"https://api.github.com/users/davehakkens/repos","events_url":"https://api.github.com/users/davehakkens/events{/privacy}","received_events_url":"https://api.github.com/users/davehakkens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-17T23:37:40Z","updated_at":"2015-10-20T18:20:39Z","closed_at":null,"body":"Make the width of embedded (youtube) videos always 100% width, also on mobile.\r\n<img width=\"920\" alt=\"schermafbeelding 2015-10-18 om 01 31 26\" src=\"https://cloud.githubusercontent.com/assets/13672737/10561756/c081b49c-7538-11e5-8f1f-b30d59e90339.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/hakkens/davehakkens/issues/comments/149653984","html_url":"https://github.com/hakkens/davehakkens/issues/5#issuecomment-149653984","issue_url":"https://api.github.com/repos/hakkens/davehakkens/issues/5","id":149653984,"user":{"login":"marcoherremans","id":15076564,"avatar_url":"https://avatars.githubusercontent.com/u/15076564?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoherremans","html_url":"https://github.com/marcoherremans","followers_url":"https://api.github.com/users/marcoherremans/followers","following_url":"https://api.github.com/users/marcoherremans/following{/other_user}","gists_url":"https://api.github.com/users/marcoherremans/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoherremans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoherremans/subscriptions","organizations_url":"https://api.github.com/users/marcoherremans/orgs","repos_url":"https://api.github.com/users/marcoherremans/repos","events_url":"https://api.github.com/users/marcoherremans/events{/privacy}","received_events_url":"https://api.github.com/users/marcoherremans/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T18:20:39Z","updated_at":"2015-10-20T18:20:39Z","body":"I think a CSS will help, I don't know if you have already used css somewhere, but if you didn't you can easily use CSS with a plugin like https://nl.wordpress.org/plugins/simple-custom-css/. \r\n\r\nThere you can experiment or play with a couple of CSS codes like this one:\r\n\r\niframe {\r\n  width: 100%;\r\n}\r\n\r\nwhich (should) make every iframe 100% width \r\nor you can add a height to it like this:\r\n\r\niframe {\r\n  width: 100%;\r\n height: 50%;\r\n}\r\n\r\nor\r\n\r\niframe {\r\n  width: 100%;\r\n height: auto;\r\n}\r\n\r\nor if you want all videos 100% \r\n\r\nvideo {\r\n\tmax-width: 100%;\r\n\theight: auto;\r\n}\r\n\r\nor you can do this with iframes, videos and images\r\n\r\niframe, video, img {\r\n  max-width: 100%;\r\n  min-height: auto;\r\n}"}}