{"action":"created","issue":{"url":"https://api.github.com/repos/flowplayer/flowplayer/issues/866","labels_url":"https://api.github.com/repos/flowplayer/flowplayer/issues/866/labels{/name}","comments_url":"https://api.github.com/repos/flowplayer/flowplayer/issues/866/comments","events_url":"https://api.github.com/repos/flowplayer/flowplayer/issues/866/events","html_url":"https://github.com/flowplayer/flowplayer/issues/866","id":89240386,"number":866,"title":"Flash: keep aspect ratio in the swf code, like swfHls does","user":{"login":"blacktrash","id":168338,"avatar_url":"https://avatars.githubusercontent.com/u/168338?v=3","gravatar_id":"","url":"https://api.github.com/users/blacktrash","html_url":"https://github.com/blacktrash","followers_url":"https://api.github.com/users/blacktrash/followers","following_url":"https://api.github.com/users/blacktrash/following{/other_user}","gists_url":"https://api.github.com/users/blacktrash/gists{/gist_id}","starred_url":"https://api.github.com/users/blacktrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacktrash/subscriptions","organizations_url":"https://api.github.com/users/blacktrash/orgs","repos_url":"https://api.github.com/users/blacktrash/repos","events_url":"https://api.github.com/users/blacktrash/events{/privacy}","received_events_url":"https://api.github.com/users/blacktrash/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flowplayer/flowplayer/labels/new%20feature","name":"new feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/flowplayer/flowplayer/milestones/19","html_url":"https://github.com/flowplayer/flowplayer/milestones/6.0.2","labels_url":"https://api.github.com/repos/flowplayer/flowplayer/milestones/19/labels","id":1135359,"number":19,"title":"6.0.2","description":"","creator":{"login":"nnarhinen","id":265438,"avatar_url":"https://avatars.githubusercontent.com/u/265438?v=3","gravatar_id":"","url":"https://api.github.com/users/nnarhinen","html_url":"https://github.com/nnarhinen","followers_url":"https://api.github.com/users/nnarhinen/followers","following_url":"https://api.github.com/users/nnarhinen/following{/other_user}","gists_url":"https://api.github.com/users/nnarhinen/gists{/gist_id}","starred_url":"https://api.github.com/users/nnarhinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnarhinen/subscriptions","organizations_url":"https://api.github.com/users/nnarhinen/orgs","repos_url":"https://api.github.com/users/nnarhinen/repos","events_url":"https://api.github.com/users/nnarhinen/events{/privacy}","received_events_url":"https://api.github.com/users/nnarhinen/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":24,"state":"open","created_at":"2015-05-27T08:05:20Z","updated_at":"2015-06-19T09:18:29Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-06-18T09:09:46Z","updated_at":"2015-06-19T09:23:34Z","closed_at":null,"body":"For Flash RTMP and progressive download the aspect ratio when going fullscreen is still calculated in JS. This falls short in scenarios like our video art demo:\r\nhttp://flowplayer.blacktrash.org/fp6/art.html - simulates fallback to RTMP, go fullscreen\r\nswfHls does this:\r\nhttp://flowplayer.blacktrash.org/fp6/art-hls.html - different video because we currently don't have the art video available in HLS\r\n\r\nA far more common case are playlists with varying aspect ratio, where the `flashfit` option must be set to recalculate the ratio via JS, but at the price of the player becoming non-responsive (no expensive on window resize implemented)  - resize window at http://demos.flowplayer.org/playlist/ratio.html during playback.\r\n\r\nAdapting the code from swfHls should get rid of the ugly option and solve the problem where it should be solved."},"comment":{"url":"https://api.github.com/repos/flowplayer/flowplayer/issues/comments/113444270","html_url":"https://github.com/flowplayer/flowplayer/issues/866#issuecomment-113444270","issue_url":"https://api.github.com/repos/flowplayer/flowplayer/issues/866","id":113444270,"user":{"login":"blacktrash","id":168338,"avatar_url":"https://avatars.githubusercontent.com/u/168338?v=3","gravatar_id":"","url":"https://api.github.com/users/blacktrash","html_url":"https://github.com/blacktrash","followers_url":"https://api.github.com/users/blacktrash/followers","following_url":"https://api.github.com/users/blacktrash/following{/other_user}","gists_url":"https://api.github.com/users/blacktrash/gists{/gist_id}","starred_url":"https://api.github.com/users/blacktrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacktrash/subscriptions","organizations_url":"https://api.github.com/users/blacktrash/orgs","repos_url":"https://api.github.com/users/blacktrash/repos","events_url":"https://api.github.com/users/blacktrash/events{/privacy}","received_events_url":"https://api.github.com/users/blacktrash/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T09:23:34Z","updated_at":"2015-06-19T09:23:34Z","body":"Tested successfully in conjunction with `adaptiveratio` as well."}}