forked from External/greenlight
fix some recordings not being youtube compatible
This commit is contained in:
parent
23127f1119
commit
14bb88ad77
|
@ -18,7 +18,7 @@
|
|||
// the landing page using custom Actioncable events.
|
||||
|
||||
MEETINGS = {}
|
||||
LOADING_DELAY = 2500 // milliseconds.
|
||||
LOADING_DELAY = 1750 // milliseconds.
|
||||
|
||||
updatePreviousMeetings = function(){
|
||||
$("ul.previously-joined li").each(function(idx, li) {
|
||||
|
|
|
@ -314,7 +314,7 @@ class @Recordings
|
|||
cloud = selectedUpload.find('.cloud-blue')
|
||||
check = selectedUpload.find('.green-check')
|
||||
spinner = selectedUpload.find('.load-spinner')
|
||||
|
||||
|
||||
showAlert(I18n.successful_upload, 4000);
|
||||
|
||||
spinner.hide()
|
||||
|
@ -359,7 +359,8 @@ class @Recordings
|
|||
# Determine if the recording can be uploaded to Youtube.
|
||||
$.ajax({
|
||||
method: 'POST',
|
||||
data: {'rec_id': id}
|
||||
data: {'rec_id': id},
|
||||
async: false,
|
||||
url: recordingsObject.getRecordingsURL() + '/can_upload'
|
||||
}).success((res_data) ->
|
||||
canUpload = res_data['uploadable']
|
||||
|
|
Loading…
Reference in New Issue