You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
648 B
27 lines
648 B
$(function () {
|
|
$('.check-meeting-video').on('click', function (e) {
|
|
e.preventDefault();
|
|
|
|
var $self = $(this),
|
|
meetingId = $self.data('id') || 0;
|
|
|
|
if (!meetingId) {
|
|
return;
|
|
}
|
|
|
|
var $loader = $('<span>', {
|
|
'aria-hidden': 'true'
|
|
}).addClass('fa fa-spinner fa-spin fa-fw');
|
|
|
|
$self.replaceWith($loader);
|
|
|
|
$.get(_p.web_plugin + 'bbb/ajax.php', {
|
|
a: 'check_m4v',
|
|
meeting: meetingId
|
|
}, function (response) {
|
|
$loader.replaceWith(response.link);
|
|
|
|
window.open(response.url);
|
|
});
|
|
});
|
|
});
|
|
|