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.
|
// the landing page using custom Actioncable events.
|
||||||
|
|
||||||
MEETINGS = {}
|
MEETINGS = {}
|
||||||
LOADING_DELAY = 2500 // milliseconds.
|
LOADING_DELAY = 1750 // milliseconds.
|
||||||
|
|
||||||
updatePreviousMeetings = function(){
|
updatePreviousMeetings = function(){
|
||||||
$("ul.previously-joined li").each(function(idx, li) {
|
$("ul.previously-joined li").each(function(idx, li) {
|
||||||
|
|
|
@ -359,7 +359,8 @@ class @Recordings
|
||||||
# Determine if the recording can be uploaded to Youtube.
|
# Determine if the recording can be uploaded to Youtube.
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
data: {'rec_id': id}
|
data: {'rec_id': id},
|
||||||
|
async: false,
|
||||||
url: recordingsObject.getRecordingsURL() + '/can_upload'
|
url: recordingsObject.getRecordingsURL() + '/can_upload'
|
||||||
}).success((res_data) ->
|
}).success((res_data) ->
|
||||||
canUpload = res_data['uploadable']
|
canUpload = res_data['uploadable']
|
||||||
|
|
Loading…
Reference in New Issue