{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/2224","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/2224/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/2224/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/2224/events","html_url":"https://github.com/ampproject/amphtml/issues/2224","id":135772833,"number":2224,"title":"Brightcove player sometimes fails to honor pause requests","user":{"login":"cramforce","id":89679,"avatar_url":"https://avatars.githubusercontent.com/u/89679?v=3","gravatar_id":"","url":"https://api.github.com/users/cramforce","html_url":"https://github.com/cramforce","followers_url":"https://api.github.com/users/cramforce/followers","following_url":"https://api.github.com/users/cramforce/following{/other_user}","gists_url":"https://api.github.com/users/cramforce/gists{/gist_id}","starred_url":"https://api.github.com/users/cramforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cramforce/subscriptions","organizations_url":"https://api.github.com/users/cramforce/orgs","repos_url":"https://api.github.com/users/cramforce/repos","events_url":"https://api.github.com/users/cramforce/events{/privacy}","received_events_url":"https://api.github.com/users/cramforce/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Related%20to:%20Content","name":"Related to: Content","color":"d4c5f9"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Related%20to:%20Video","name":"Related to: Video","color":"d4c5f9"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Bug","name":"Type: Bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-23T15:40:46Z","updated_at":"2016-03-17T01:47:38Z","closed_at":null,"body":"The brightcove example does not seem to have this problem.\r\n\r\nTo repro\r\n\r\n1. Go to http://localhost:8000/max/cpt-amp.production.gannettdigital.com/story/80725680/?amp_js_v=3 on iphone or Chrome emulating iphone\r\n2. Click play on video\r\n3. Switch tab\r\n\r\nThe video does not stop playing, but it should. I've already verified that AMP is sending the message, so this must be player specific.\r\n\r\nCC @mister-ben "},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/197645099","html_url":"https://github.com/ampproject/amphtml/issues/2224#issuecomment-197645099","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/2224","id":197645099,"user":{"login":"mkhatib","id":2647,"avatar_url":"https://avatars.githubusercontent.com/u/2647?v=3","gravatar_id":"","url":"https://api.github.com/users/mkhatib","html_url":"https://github.com/mkhatib","followers_url":"https://api.github.com/users/mkhatib/followers","following_url":"https://api.github.com/users/mkhatib/following{/other_user}","gists_url":"https://api.github.com/users/mkhatib/gists{/gist_id}","starred_url":"https://api.github.com/users/mkhatib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkhatib/subscriptions","organizations_url":"https://api.github.com/users/mkhatib/orgs","repos_url":"https://api.github.com/users/mkhatib/repos","events_url":"https://api.github.com/users/mkhatib/events{/privacy}","received_events_url":"https://api.github.com/users/mkhatib/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T01:47:38Z","updated_at":"2016-03-17T01:47:38Z","body":"Re-opening this, @mister-ben, without a way to guarantee that brightcove player is going to respect the pause command we'll be forced to `unload` the entire player with the upcoming change pause/unlayout #1637 change. \r\n\r\nThis will mean that users will lose track of where they were at in a brightcove video and be forced to replay the video from the start instead.\r\n\r\nAs @dvoytenko mentioned if there's a way to force the pause script to be included (by sending a param in the amp-brightcove code) in the player and not leave it up to the publisher that would be great. "}}