Latest videos

').fadeIn('fast'); }, success: function(data) { if (data.status == 200) { $('.cover-container img').attr('src', data.url + '?time=' + Math.random()).on("load", function () { $('.cover-container').show(); $('.cover-container-2').hide(); $('.user-reposition-dragable-container').show(); $('.user-repositioning-icons-container1').fadeOut('fast'); $('.user-repositioning-icons-container').fadeOut('fast').html(''); }); } } }); var stripe_array = []; Stripe.setPublishableKey('pk_live_tQJ6CI65N7wFIByclZ8a852m'); function SH_StripeCardRequest() { $('#stripe_btn').text("Please wait.."); $('#stripe_btn').attr('disabled', 'true'); if ($("#stripe_name").val() != '' && $("#stripe_email").val() != '' && $("#stripe_number").val() != '' && $("#stripe_month").val() != '' && $("#stripe_year").val() != '' && $("#stripe_cvc").val() != '') { stripe_array['stripe_name'] = $('#stripe_name').val(); stripe_array['stripe_email'] = $('#stripe_email').val(); stripe_array['stripe_number'] = $('#stripe_number').val(); stripe_array['stripe_month'] = $('#stripe_month').val(); stripe_array['stripe_year'] = $('#stripe_year').val(); stripe_array['stripe_cvc'] = $('#stripe_cvc').val(); Stripe.createToken({ number: $('#stripe_number').val(), exp_month: $('#stripe_month').val(), exp_year: $('#stripe_year').val(), cvc: $('#stripe_cvc').val() }, SH_StripeCardResponseHandler); } else{ $('#stripe_alert').html('
Please complete all required fields
'); $('#stripe_btn').text("Purchase"); $('#stripe_btn').removeAttr('disabled'); } } function SH_StripeCardResponseHandler(status, response) { if (response.error) { $('#stripe_alert').html('
'+response.error.message+'
'); $('#stripe_btn').text("Purchase"); $('#stripe_btn').removeAttr('disabled'); } else { stripe_array['token'] = response.id; $.post('https://blackjunction.tv/aj/go_pro/subscribe', {'stripe_name': stripe_array['stripe_name'],'stripe_email': stripe_array['stripe_email'],'stripe_number': stripe_array['stripe_number'],'stripe_month': stripe_array['stripe_month'],'stripe_year': stripe_array['stripe_year'],'stripe_cvc': stripe_array['stripe_cvc'],stripeToken:stripe_array['token'],user_id: '22069',type:'stripe'}, function (data) { if (data.status == 200) { window.location.href = data.url; } else { $('#stripe_alert').html('
Payment declined, please try again later.
'); } }); } } function PT_OpenStripe(pkg,self,video_id = 0,price = 0,user_id = 0){ $('#pay-go-pro').modal('hide'); $('#stripe_modal').modal('show'); } $(document).on('click', '#select-img', function(event) { $("#thumbnail").click() }); $(document).on('change', '#thumbnail', function(event) { let imgPath = $(this)[0].files[0].name; if (typeof(FileReader) != "undefined") { let reader = new FileReader(); reader.onload = function(e) { $('#receipt_img_preview').attr('src', e.target.result); } reader.readAsDataURL(this.files[0]); } $('#bank_transfer_modal').addClass('up_rec_img_ready'); }); jQuery(document).ready(function($) { $('#bank_transfer_form').ajaxForm({ url: 'https://blackjunction.tv/aj/go_pro/subscribe', beforeSend: function() { $('#bank_transfer_form').find('.ball-pulse').fadeIn(100); }, success: function(data) { if (data['status'] == 200) { $("#blog-alert").html('
'+ data['message'] +'
'); setTimeout(function () { $(".prv-img").html('

https://blackjunction.tv/browse_to_upload

'); $("#blog-alert").html(''); $('#configreset').click(); },3000) } else if (data['message']) { $("#blog-alert").html('
' + data['message'] + '
'); } $('#bank_transfer_form').find('.ball-pulse').fadeOut(100); }}); }); function PT_OpenBank(pkg,self,video_id = 0,price = 0){ if (!pkg || !self) { return false; } $(self).text("Please wait..").attr('disabled', 'true'); $('#pay-go-pro').modal('hide'); $('#configreset').click(); $("#blog-alert").html(''); $('#pay-go-pro').modal('hide'); $('#bank_transfer_modal').modal({ show: true }); }