{"action":"created","issue":{"url":"https://api.github.com/repos/michaelzangl/wp-video-embed-privacy/issues/3","repository_url":"https://api.github.com/repos/michaelzangl/wp-video-embed-privacy","labels_url":"https://api.github.com/repos/michaelzangl/wp-video-embed-privacy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/michaelzangl/wp-video-embed-privacy/issues/3/comments","events_url":"https://api.github.com/repos/michaelzangl/wp-video-embed-privacy/issues/3/events","html_url":"https://github.com/michaelzangl/wp-video-embed-privacy/issues/3","id":313432636,"number":3,"title":"Video is overlapping with sidebar due to width of video-wrapped","user":{"login":"Creanimo","id":29001946,"avatar_url":"https://avatars1.githubusercontent.com/u/29001946?v=4","gravatar_id":"","url":"https://api.github.com/users/Creanimo","html_url":"https://github.com/Creanimo","followers_url":"https://api.github.com/users/Creanimo/followers","following_url":"https://api.github.com/users/Creanimo/following{/other_user}","gists_url":"https://api.github.com/users/Creanimo/gists{/gist_id}","starred_url":"https://api.github.com/users/Creanimo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Creanimo/subscriptions","organizations_url":"https://api.github.com/users/Creanimo/orgs","repos_url":"https://api.github.com/users/Creanimo/repos","events_url":"https://api.github.com/users/Creanimo/events{/privacy}","received_events_url":"https://api.github.com/users/Creanimo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-11T18:13:04Z","updated_at":"2018-05-24T21:50:15Z","closed_at":null,"author_association":"NONE","body":"In almost all cases the videos are now too wide for my website. It overlaps with the sidebar in Divi and is bigger than the viewport on mobile devices.\r\n\r\nThis is because of:\r\n`<div class=\"video-wrapped\" style=\"width: ' . $w . 'px; height: ' . $h . 'px; background-image: url(\\'' . $preview . '\\')\"` in video-embed-privacy.php\r\n\r\nIf I delete `width: ' . $w . 'px; height: ' . $h . 'px;` and instead use CSS styling like this through the Custom CSS field of my theme:\r\n`.video-wrapped { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }\r\n.video-wrapped iframe, .video-container object, .video-container embed, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }`\r\neverything becomes responsive and fits nicely."},"comment":{"url":"https://api.github.com/repos/michaelzangl/wp-video-embed-privacy/issues/comments/391876452","html_url":"https://github.com/michaelzangl/wp-video-embed-privacy/issues/3#issuecomment-391876452","issue_url":"https://api.github.com/repos/michaelzangl/wp-video-embed-privacy/issues/3","id":391876452,"user":{"login":"michaelzangl","id":5981823,"avatar_url":"https://avatars1.githubusercontent.com/u/5981823?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelzangl","html_url":"https://github.com/michaelzangl","followers_url":"https://api.github.com/users/michaelzangl/followers","following_url":"https://api.github.com/users/michaelzangl/following{/other_user}","gists_url":"https://api.github.com/users/michaelzangl/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelzangl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelzangl/subscriptions","organizations_url":"https://api.github.com/users/michaelzangl/orgs","repos_url":"https://api.github.com/users/michaelzangl/repos","events_url":"https://api.github.com/users/michaelzangl/events{/privacy}","received_events_url":"https://api.github.com/users/michaelzangl/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T21:50:15Z","updated_at":"2018-05-24T21:50:15Z","author_association":"OWNER","body":"There is an updater included. If you download the plugin from github, it should pull updates from github.\r\n\r\nThe main problem is that I do only mark plugins as non-pre-release if I know that they work on several sites. So far, I am getting very few feedback on how good it works, so this is why I'm not marking the releases as stable. The pre-releases include an updater as well, but that updater is also not well-tested ;-)."}}
{"actor":{"display_login":"michaelzangl"}}