{"action":"opened","issue":{"url":"https://api.github.com/repos/scaron/prettyphoto/issues/158","labels_url":"https://api.github.com/repos/scaron/prettyphoto/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/scaron/prettyphoto/issues/158/comments","events_url":"https://api.github.com/repos/scaron/prettyphoto/issues/158/events","html_url":"https://github.com/scaron/prettyphoto/issues/158","id":110422669,"number":158,"title":"YouTube player does not open in full screen","user":{"login":"destrofer","id":2089465,"avatar_url":"https://avatars.githubusercontent.com/u/2089465?v=3","gravatar_id":"","url":"https://api.github.com/users/destrofer","html_url":"https://github.com/destrofer","followers_url":"https://api.github.com/users/destrofer/followers","following_url":"https://api.github.com/users/destrofer/following{/other_user}","gists_url":"https://api.github.com/users/destrofer/gists{/gist_id}","starred_url":"https://api.github.com/users/destrofer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/destrofer/subscriptions","organizations_url":"https://api.github.com/users/destrofer/orgs","repos_url":"https://api.github.com/users/destrofer/repos","events_url":"https://api.github.com/users/destrofer/events{/privacy}","received_events_url":"https://api.github.com/users/destrofer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-08T10:46:12Z","updated_at":"2015-10-08T10:46:12Z","closed_at":null,"body":"As subject says YouTube player that gets embedded in the prettyPhoto dialog as an iframe does not allow to watch videos in full screen (tested in Chrome only). Not with the default prettyPhoto settings. I have found a solution and would like to suggest to change the default iframe markup to this:\r\n\r\n```JS\r\niframe_markup: '<iframe src =\"{path}\" width=\"{width}\" height=\"{height}\" frameborder=\"no\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>',\r\n```"}}