%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/www/wp-content/plugins/kata-plus/assets/src/js/backend/ |
Upload File : |
var audioSelectItemView = elementor.modules.controls.BaseData.extend({
onReady: function () {
var file_input_id = this.$el.find('.smc-selected-audio-url').attr('id');
this.$el.find('.smc-ec-select-file').click(function() {
var smc_ec_file_uploader = wp.media({
title: 'Upload Audio File',
button: {text: 'Get Audio'},
library: {type: 'audio'},
multiple: false
})
.on('select', function() {
var attachment = smc_ec_file_uploader.state().get('selection').first().toJSON();
jQuery("#" + file_input_id).val(attachment.url);
jQuery("#" + file_input_id).trigger("input");
})
.open();
});
},
});
elementor.addControlView('kata_plus_icons_audio_chooser', audioSelectItemView);