{"action":"closed","issue":{"url":"https://api.github.com/repos/alexandruionascu/youtube-pane/issues/5","repository_url":"https://api.github.com/repos/alexandruionascu/youtube-pane","labels_url":"https://api.github.com/repos/alexandruionascu/youtube-pane/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/alexandruionascu/youtube-pane/issues/5/comments","events_url":"https://api.github.com/repos/alexandruionascu/youtube-pane/issues/5/events","html_url":"https://github.com/alexandruionascu/youtube-pane/issues/5","id":168065795,"number":5,"title":"Mobile version not showed up. Desktop version is loaded instead.","user":{"login":"blutarche","id":8101468,"avatar_url":"https://avatars.githubusercontent.com/u/8101468?v=3","gravatar_id":"","url":"https://api.github.com/users/blutarche","html_url":"https://github.com/blutarche","followers_url":"https://api.github.com/users/blutarche/followers","following_url":"https://api.github.com/users/blutarche/following{/other_user}","gists_url":"https://api.github.com/users/blutarche/gists{/gist_id}","starred_url":"https://api.github.com/users/blutarche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blutarche/subscriptions","organizations_url":"https://api.github.com/users/blutarche/orgs","repos_url":"https://api.github.com/users/blutarche/repos","events_url":"https://api.github.com/users/blutarche/events{/privacy}","received_events_url":"https://api.github.com/users/blutarche/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-28T10:41:09Z","updated_at":"2016-07-28T11:20:26Z","closed_at":"2016-07-28T11:20:26Z","body":"I saw in your `youtube-pane.coffee` that you tried to display mobile version.\r\nBut when I used it, desktop version is loaded instead. (Youtube redirected it to `www.youtube.com/?app=desktop`)\r\n\r\nSince I wanna use it in mobile version I tried to hack and found this workaround:\r\n\r\nAdd `useragent=\"Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0\"` to `<webview>`\r\n\r\nSo it now looks something like this:\r\n```coffee\r\n$('.youtube').append('<webview id=\"youtube-pane\" useragent=\"Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0\" src=\"https://m.youtube.com/\" style=\"display:inline-block; float: right; width:' + width/1 +'px; height:' + height + 'px;\"></webview>')\r\n```\r\n\r\nBut this hack caused inability to play the video itself. So I don't think it's the correct way to solve it.\r\n\r\nAny suggestion?"}}
{"actor":{"display_login":"blutarche"}}