{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/9354","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/9354/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/9354/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/9354/events","html_url":"https://github.com/edx/edx-platform/pull/9354","id":101494554,"number":9354,"title":"fetch transcript for html5 if 404","user":{"login":"Shrhawk","id":7054417,"avatar_url":"https://avatars.githubusercontent.com/u/7054417?v=3","gravatar_id":"","url":"https://api.github.com/users/Shrhawk","html_url":"https://github.com/Shrhawk","followers_url":"https://api.github.com/users/Shrhawk/followers","following_url":"https://api.github.com/users/Shrhawk/following{/other_user}","gists_url":"https://api.github.com/users/Shrhawk/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrhawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrhawk/subscriptions","organizations_url":"https://api.github.com/users/Shrhawk/orgs","repos_url":"https://api.github.com/users/Shrhawk/repos","events_url":"https://api.github.com/users/Shrhawk/events{/privacy}","received_events_url":"https://api.github.com/users/Shrhawk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-17T19:37:54Z","updated_at":"2015-08-20T12:26:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/9354","html_url":"https://github.com/edx/edx-platform/pull/9354","diff_url":"https://github.com/edx/edx-platform/pull/9354.diff","patch_url":"https://github.com/edx/edx-platform/pull/9354.patch"},"body":"[MA-824](https://openedx.atlassian.net/browse/MA-824)\r\n\r\n**Steps to reproduce :**\r\n1) Create a video component with ```youtube``` and ```.mp4``` url\r\n2) Upload an transcript to video component\r\n3) Delete transcript recently uploaded\r\n**Result:**\r\nCaption are visible for youtube but not for html5\r\n\r\n**Problem:**\r\nWhen and transcript is loaded to an video component having ```youtube``` and ```.mp4``` urls both and another copy of same transcript is created with ```youtube_id``` so we have two transcripts for same video one with ```youtube_id``` and one with ```transcript_file_name``` uploaded.If we delete transcript with ```transcript_file_name``` then the caption will load for youtube but not for html5\r\n\r\n**Solution:**\r\nSo if transcript is not found for html5 we already have a functionality that fetch from available translations for an video, further if there are no available translations of an video but it has transcript with ```youtube_id``` we can make attempt to fetch the video transcript with ```youtube_id```\r\n"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/132991386","html_url":"https://github.com/edx/edx-platform/pull/9354#issuecomment-132991386","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/9354","id":132991386,"user":{"login":"Shrhawk","id":7054417,"avatar_url":"https://avatars.githubusercontent.com/u/7054417?v=3","gravatar_id":"","url":"https://api.github.com/users/Shrhawk","html_url":"https://github.com/Shrhawk","followers_url":"https://api.github.com/users/Shrhawk/followers","following_url":"https://api.github.com/users/Shrhawk/following{/other_user}","gists_url":"https://api.github.com/users/Shrhawk/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrhawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrhawk/subscriptions","organizations_url":"https://api.github.com/users/Shrhawk/orgs","repos_url":"https://api.github.com/users/Shrhawk/repos","events_url":"https://api.github.com/users/Shrhawk/events{/privacy}","received_events_url":"https://api.github.com/users/Shrhawk/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T12:26:53Z","updated_at":"2015-08-20T12:26:53Z","body":"@adampalay @waheedahmed @muzaffaryousaf "}}