{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/18291","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/18291/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/18291/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/18291/events","html_url":"https://github.com/ampproject/amphtml/issues/18291","id":363259909,"node_id":"MDU6SXNzdWUzNjMyNTk5MDk=","number":18291,"title":"amp-video: auto advance after a video has ended (feature request)","user":{"login":"nhunsaker","id":3289500,"node_id":"MDQ6VXNlcjMyODk1MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/3289500?v=4","gravatar_id":"","url":"https://api.github.com/users/nhunsaker","html_url":"https://github.com/nhunsaker","followers_url":"https://api.github.com/users/nhunsaker/followers","following_url":"https://api.github.com/users/nhunsaker/following{/other_user}","gists_url":"https://api.github.com/users/nhunsaker/gists{/gist_id}","starred_url":"https://api.github.com/users/nhunsaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhunsaker/subscriptions","organizations_url":"https://api.github.com/users/nhunsaker/orgs","repos_url":"https://api.github.com/users/nhunsaker/repos","events_url":"https://api.github.com/users/nhunsaker/events{/privacy}","received_events_url":"https://api.github.com/users/nhunsaker/received_events","type":"User","site_admin":false},"labels":[{"id":530198214,"node_id":"MDU6TGFiZWw1MzAxOTgyMTQ=","url":"https://api.github.com/repos/ampproject/amphtml/labels/Category:%20Presentation","name":"Category: Presentation","color":"1d76db","default":false},{"id":284529946,"node_id":"MDU6TGFiZWwyODQ1Mjk5NDY=","url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Feature%20Request","name":"Type: Feature Request","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"ericlindley-g","id":16807766,"node_id":"MDQ6VXNlcjE2ODA3NzY2","avatar_url":"https://avatars2.githubusercontent.com/u/16807766?v=4","gravatar_id":"","url":"https://api.github.com/users/ericlindley-g","html_url":"https://github.com/ericlindley-g","followers_url":"https://api.github.com/users/ericlindley-g/followers","following_url":"https://api.github.com/users/ericlindley-g/following{/other_user}","gists_url":"https://api.github.com/users/ericlindley-g/gists{/gist_id}","starred_url":"https://api.github.com/users/ericlindley-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericlindley-g/subscriptions","organizations_url":"https://api.github.com/users/ericlindley-g/orgs","repos_url":"https://api.github.com/users/ericlindley-g/repos","events_url":"https://api.github.com/users/ericlindley-g/events{/privacy}","received_events_url":"https://api.github.com/users/ericlindley-g/received_events","type":"User","site_admin":false},"assignees":[{"login":"ericlindley-g","id":16807766,"node_id":"MDQ6VXNlcjE2ODA3NzY2","avatar_url":"https://avatars2.githubusercontent.com/u/16807766?v=4","gravatar_id":"","url":"https://api.github.com/users/ericlindley-g","html_url":"https://github.com/ericlindley-g","followers_url":"https://api.github.com/users/ericlindley-g/followers","following_url":"https://api.github.com/users/ericlindley-g/following{/other_user}","gists_url":"https://api.github.com/users/ericlindley-g/gists{/gist_id}","starred_url":"https://api.github.com/users/ericlindley-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericlindley-g/subscriptions","organizations_url":"https://api.github.com/users/ericlindley-g/orgs","repos_url":"https://api.github.com/users/ericlindley-g/repos","events_url":"https://api.github.com/users/ericlindley-g/events{/privacy}","received_events_url":"https://api.github.com/users/ericlindley-g/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/23","html_url":"https://github.com/ampproject/amphtml/milestone/23","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/23/labels","id":2293339,"node_id":"MDk6TWlsZXN0b25lMjI5MzMzOQ==","number":23,"title":"New FRs","description":"These are new feature requests opened, that are still at discussion level or need to be verified on whether they can be prioritized or not. ","creator":{"login":"adelinamart","id":24213793,"node_id":"MDQ6VXNlcjI0MjEzNzkz","avatar_url":"https://avatars2.githubusercontent.com/u/24213793?v=4","gravatar_id":"","url":"https://api.github.com/users/adelinamart","html_url":"https://github.com/adelinamart","followers_url":"https://api.github.com/users/adelinamart/followers","following_url":"https://api.github.com/users/adelinamart/following{/other_user}","gists_url":"https://api.github.com/users/adelinamart/gists{/gist_id}","starred_url":"https://api.github.com/users/adelinamart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelinamart/subscriptions","organizations_url":"https://api.github.com/users/adelinamart/orgs","repos_url":"https://api.github.com/users/adelinamart/repos","events_url":"https://api.github.com/users/adelinamart/events{/privacy}","received_events_url":"https://api.github.com/users/adelinamart/received_events","type":"User","site_admin":false},"open_issues":413,"closed_issues":280,"state":"open","created_at":"2017-02-01T19:32:04Z","updated_at":"2018-09-25T16:37:32Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-09-24T18:11:59Z","updated_at":"2018-09-25T18:31:45Z","closed_at":null,"author_association":"NONE","body":"I'm working on a project where we want to advance from one video to the next similar to this example:\r\nhttps://www.buzzfeed.com/videos\r\n\r\n<img width=\"1133\" alt=\"banners_and_alerts_and_buzzfeed_videos\" src=\"https://user-images.githubusercontent.com/3289500/45970129-b8a42480-c003-11e8-9982-c2feb976d8ea.png\">\r\n\r\nUnfortunately I don't see way to auto-advance from one video selection to another in amp without using a story. Do you have any recommendations?\r\n\r\nIdeally I'd like to do something like this:\r\n```\r\n<amp-video-playlist width=\"450\" height=\"300\" auto-advance=\"true\">\r\n  <amp-video src=\"videos/video1.mp4\" width=\"450\" height=\"300\"></amp-video>\r\n  <amp-video src=\"videos/video2.mp4\" width=\"450\" height=\"300\"></amp-video>\r\n  <amp-video src=\"videos/video3.mp4\" width=\"450\" height=\"300\"></amp-video>\r\n</amp-video-playlist>\r\n```\r\n\r\nOr:\r\n```\r\n<amp-carousel width=\"450\" height=\"300\">\r\n  <amp-video id=\"one\" src=\"videos/video1.mp4\" width=\"450\" height=\"300\" auto-advance-after=\"one\"></amp-video>\r\n  <amp-video id=\"two\" src=\"videos/video2.mp4\" width=\"450\" height=\"300\" auto-advance-after=\"two\"></amp-video>\r\n  <amp-video id=\"three\" src=\"videos/video3.mp4\" width=\"450\" height=\"300\" auto-advance-after=\"three\"></amp-video>\r\n</amp-carousel>\r\n```\r\n\r\nOr:\r\n```\r\n<amp-carousel id=\"my-carousel\" width=\"450\" height=\"300\">\r\n  <amp-video src=\"videos/video1.mp4\" width=\"450\" height=\"300\" on=\"ended:my-carousel.goToSlide(index=1)\"></amp-video>\r\n  <amp-video src=\"videos/video2.mp4\" width=\"450\" height=\"300\" on=\"ended:my-carousel.goToSlide(index=2)\"></amp-video>\r\n  <amp-video src=\"videos/video3.mp4\" width=\"450\" height=\"300\" on=\"ended:my-carousel.goToSlide(index=0)\"></amp-video>\r\n</amp-carousel>\r\n````\r\n\r\nFor reference, I read through this issue which explains why some video events are not exposed for \r\nhttps://github.com/ampproject/amphtml/issues/8971"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/424452771","html_url":"https://github.com/ampproject/amphtml/issues/18291#issuecomment-424452771","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/18291","id":424452771,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDQ1Mjc3MQ==","user":{"login":"ericlindley-g","id":16807766,"node_id":"MDQ6VXNlcjE2ODA3NzY2","avatar_url":"https://avatars2.githubusercontent.com/u/16807766?v=4","gravatar_id":"","url":"https://api.github.com/users/ericlindley-g","html_url":"https://github.com/ericlindley-g","followers_url":"https://api.github.com/users/ericlindley-g/followers","following_url":"https://api.github.com/users/ericlindley-g/following{/other_user}","gists_url":"https://api.github.com/users/ericlindley-g/gists{/gist_id}","starred_url":"https://api.github.com/users/ericlindley-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericlindley-g/subscriptions","organizations_url":"https://api.github.com/users/ericlindley-g/orgs","repos_url":"https://api.github.com/users/ericlindley-g/repos","events_url":"https://api.github.com/users/ericlindley-g/events{/privacy}","received_events_url":"https://api.github.com/users/ericlindley-g/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T18:31:45Z","updated_at":"2018-09-25T18:31:45Z","author_association":"COLLABORATOR","body":"Relates to some discussions @aghassemi and I were chatting about with a developer yesterday, as well as a project that @alanorozco has been thinking about.\r\n\r\nAt the moment, this functionality isn't directly supported outside of amp-iframe, in part because we can't trust that a user reaching the end of a video is a high enough trust event to hook into amp-bind. \r\n\r\nHowever, I believe one option for making this possible would be to put a custom video player inside of amp-video-iframe (when that component is launched) — another could be a new custom component or enhancement to amp-carousel as you note here, @nhunsaker."}}
{"actor":{"display_login":"ericlindley-g"}}