{"action":"created","issue":{"url":"https://api.github.com/repos/clappr/clappr/issues/1623","repository_url":"https://api.github.com/repos/clappr/clappr","labels_url":"https://api.github.com/repos/clappr/clappr/issues/1623/labels{/name}","comments_url":"https://api.github.com/repos/clappr/clappr/issues/1623/comments","events_url":"https://api.github.com/repos/clappr/clappr/issues/1623/events","html_url":"https://github.com/clappr/clappr/issues/1623","id":312879770,"number":1623,"title":"Player in page with height: \"100%\" isn't displayed when DOCTYPE is set","user":{"login":"t1254362","id":34858419,"avatar_url":"https://avatars3.githubusercontent.com/u/34858419?v=4","gravatar_id":"","url":"https://api.github.com/users/t1254362","html_url":"https://github.com/t1254362","followers_url":"https://api.github.com/users/t1254362/followers","following_url":"https://api.github.com/users/t1254362/following{/other_user}","gists_url":"https://api.github.com/users/t1254362/gists{/gist_id}","starred_url":"https://api.github.com/users/t1254362/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t1254362/subscriptions","organizations_url":"https://api.github.com/users/t1254362/orgs","repos_url":"https://api.github.com/users/t1254362/repos","events_url":"https://api.github.com/users/t1254362/events{/privacy}","received_events_url":"https://api.github.com/users/t1254362/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-10T11:22:11Z","updated_at":"2018-04-10T11:34:24Z","closed_at":null,"author_association":"NONE","body":"I was trying to have a 100% width and height player.\r\n\r\nwidth: \"100%\" is working fine, but when I add height: \"100%\" it goes to 0px.\r\n\r\nI was trying this example from a similar Issue: https://github.com/clappr/clappr/issues/1387#issuecomment-299216771\r\nAnd it working, but with this I found what is the difference and how to break that code: add at top:\r\n```\r\n<!DOCTYPE html>\r\n```\r\n\r\nWith the example at is, it works, but if I add DOCTYPE I have the same behaviour: with 100% width, it works, with 100% height, it has 0px as 100%.\r\n\r\nI modified my original page to remove DOCTYPE and now height: \"100%\" works.\r\n\r\nWhy I need to remove <!DOCTYPE html> to use height: \"100%\"? I want to fill a div (not always the full page), and without DOCTYPE it works\r\n\r\nI'm using your CDN import: https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js"},"comment":{"url":"https://api.github.com/repos/clappr/clappr/issues/comments/380067202","html_url":"https://github.com/clappr/clappr/issues/1623#issuecomment-380067202","issue_url":"https://api.github.com/repos/clappr/clappr/issues/1623","id":380067202,"user":{"login":"t1254362","id":34858419,"avatar_url":"https://avatars3.githubusercontent.com/u/34858419?v=4","gravatar_id":"","url":"https://api.github.com/users/t1254362","html_url":"https://github.com/t1254362","followers_url":"https://api.github.com/users/t1254362/followers","following_url":"https://api.github.com/users/t1254362/following{/other_user}","gists_url":"https://api.github.com/users/t1254362/gists{/gist_id}","starred_url":"https://api.github.com/users/t1254362/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t1254362/subscriptions","organizations_url":"https://api.github.com/users/t1254362/orgs","repos_url":"https://api.github.com/users/t1254362/repos","events_url":"https://api.github.com/users/t1254362/events{/privacy}","received_events_url":"https://api.github.com/users/t1254362/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T11:34:24Z","updated_at":"2018-04-10T11:34:24Z","author_association":"NONE","body":"I will look this, same the same problem with other elements (not clappr):\r\nhttps://stackoverflow.com/questions/10380346/css-styles-not-applied-properly-if-use-doctype"}}
{"actor":{"display_login":"t1254362"}}