{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/15730","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/15730/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/15730/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/15730/events","html_url":"https://github.com/ampproject/amphtml/issues/15730","id":328517070,"node_id":"MDU6SXNzdWUzMjg1MTcwNzA=","number":15730,"title":"allow=\"autoplay\" for amp-ad component","user":{"login":"RonanDrouglazet","id":4659372,"node_id":"MDQ6VXNlcjQ2NTkzNzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4659372?v=4","gravatar_id":"","url":"https://api.github.com/users/RonanDrouglazet","html_url":"https://github.com/RonanDrouglazet","followers_url":"https://api.github.com/users/RonanDrouglazet/followers","following_url":"https://api.github.com/users/RonanDrouglazet/following{/other_user}","gists_url":"https://api.github.com/users/RonanDrouglazet/gists{/gist_id}","starred_url":"https://api.github.com/users/RonanDrouglazet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonanDrouglazet/subscriptions","organizations_url":"https://api.github.com/users/RonanDrouglazet/orgs","repos_url":"https://api.github.com/users/RonanDrouglazet/repos","events_url":"https://api.github.com/users/RonanDrouglazet/events{/privacy}","received_events_url":"https://api.github.com/users/RonanDrouglazet/received_events","type":"User","site_admin":false},"labels":[{"id":283436627,"node_id":"MDU6TGFiZWwyODM0MzY2Mjc=","url":"https://api.github.com/repos/ampproject/amphtml/labels/Category:%20Ads","name":"Category: Ads","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"lannka","id":8496897,"node_id":"MDQ6VXNlcjg0OTY4OTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8496897?v=4","gravatar_id":"","url":"https://api.github.com/users/lannka","html_url":"https://github.com/lannka","followers_url":"https://api.github.com/users/lannka/followers","following_url":"https://api.github.com/users/lannka/following{/other_user}","gists_url":"https://api.github.com/users/lannka/gists{/gist_id}","starred_url":"https://api.github.com/users/lannka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lannka/subscriptions","organizations_url":"https://api.github.com/users/lannka/orgs","repos_url":"https://api.github.com/users/lannka/repos","events_url":"https://api.github.com/users/lannka/events{/privacy}","received_events_url":"https://api.github.com/users/lannka/received_events","type":"User","site_admin":false},"assignees":[{"login":"lannka","id":8496897,"node_id":"MDQ6VXNlcjg0OTY4OTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8496897?v=4","gravatar_id":"","url":"https://api.github.com/users/lannka","html_url":"https://github.com/lannka","followers_url":"https://api.github.com/users/lannka/followers","following_url":"https://api.github.com/users/lannka/following{/other_user}","gists_url":"https://api.github.com/users/lannka/gists{/gist_id}","starred_url":"https://api.github.com/users/lannka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lannka/subscriptions","organizations_url":"https://api.github.com/users/lannka/orgs","repos_url":"https://api.github.com/users/lannka/repos","events_url":"https://api.github.com/users/lannka/events{/privacy}","received_events_url":"https://api.github.com/users/lannka/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/20","html_url":"https://github.com/ampproject/amphtml/milestone/20","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/20/labels","id":1884542,"node_id":"MDk6TWlsZXN0b25lMTg4NDU0Mg==","number":20,"title":"Pending Triage","description":"These issues need to get put into another milestone. They should be assigned to the person who can best decide the appropriate milestone. Optionally, the issue can then be assigned to the most likely implementer.","creator":{"login":"rudygalfi","id":3888212,"node_id":"MDQ6VXNlcjM4ODgyMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3888212?v=4","gravatar_id":"","url":"https://api.github.com/users/rudygalfi","html_url":"https://github.com/rudygalfi","followers_url":"https://api.github.com/users/rudygalfi/followers","following_url":"https://api.github.com/users/rudygalfi/following{/other_user}","gists_url":"https://api.github.com/users/rudygalfi/gists{/gist_id}","starred_url":"https://api.github.com/users/rudygalfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudygalfi/subscriptions","organizations_url":"https://api.github.com/users/rudygalfi/orgs","repos_url":"https://api.github.com/users/rudygalfi/repos","events_url":"https://api.github.com/users/rudygalfi/events{/privacy}","received_events_url":"https://api.github.com/users/rudygalfi/received_events","type":"User","site_admin":false},"open_issues":141,"closed_issues":949,"state":"open","created_at":"2016-07-14T23:13:22Z","updated_at":"2018-08-16T13:57:55Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2018-06-01T13:20:22Z","updated_at":"2018-08-16T15:35:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## What's the issue?\r\n\r\nBecause no attribute `allow=\"autoplay\"` are present on the amp-ad cross domain iframe, if a muted video is played inside it, the sound can't be unmuted even with a user interaction (click / touch the sound button)\r\n\r\nCurrently our video node has all the necessary attributes to be played automatically (muted video)\r\nbut the user are not allowed to unmute the sound because if it does, the video go to pause with a warning in the console \"Unmuting failed and the element was paused instead because the user didn't interact with the document before\"\r\n\r\nan issue has already been created on chromium side because\r\n-> this behavior were working on chrome M65, but not since M66\r\n-> we have a user interaction (click on the unmute button)\r\n-> the video is still paused \r\n\r\nyou can find more info (video screen capture / screenshot / etc.. ) in the chromium issue -> https://bugs.chromium.org/p/chromium/issues/detail?id=845817\r\n\r\nbut for them, it's a framework issue because the `amp-ad` cross domain iframe doesn't have the allow=\"autoplay\" attribute. I've tested to manually set it via the web console and it works, with this attribute the user is allowed to unmute the video inside the cross domain iframe \r\n\r\n## How do we reproduce the issue?\r\n\r\n1. go to https://amp.teads.tv\r\n2. wait a little for the page to be loaded\r\n3. scroll to the video ad\r\n4. click on the unmute button (bottom right corner)\r\n\r\nthe issue is present on desktop AND mobile \r\n\r\nps: do not scroll too fast to the video ad, if you scroll to the slot before the ad is loaded, the AMP framework does not allow the opening of this ad\r\n\r\n## What browsers are affected?\r\n\r\nChrome 66+ on Android & Desktop\r\n\r\n## Which AMP version is affected?\r\n\r\nAll I think\r\n\r\nThanks for you help AMP Team ! \r\n"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/413588465","html_url":"https://github.com/ampproject/amphtml/issues/15730#issuecomment-413588465","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/15730","id":413588465,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzU4ODQ2NQ==","user":{"login":"jasti","id":2366341,"node_id":"MDQ6VXNlcjIzNjYzNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/2366341?v=4","gravatar_id":"","url":"https://api.github.com/users/jasti","html_url":"https://github.com/jasti","followers_url":"https://api.github.com/users/jasti/followers","following_url":"https://api.github.com/users/jasti/following{/other_user}","gists_url":"https://api.github.com/users/jasti/gists{/gist_id}","starred_url":"https://api.github.com/users/jasti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasti/subscriptions","organizations_url":"https://api.github.com/users/jasti/orgs","repos_url":"https://api.github.com/users/jasti/repos","events_url":"https://api.github.com/users/jasti/events{/privacy}","received_events_url":"https://api.github.com/users/jasti/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T15:35:49Z","updated_at":"2018-08-16T15:35:49Z","author_association":"COLLABORATOR","body":"+1. Since this is something that only stopped working since M66, I'd recommend finding an alternative with Chrome to avoid the side effects. \r\n"}}
{"actor":{"display_login":"jasti"}}