Please help me with this, it’s urgent!
This is how I use it:
1.I have the script in a separate js file
2.I add this before the function displaying the form
wp_enqueue_script('media_uploader', '/wp-content/plugins/video_manager/media_uploader.js', array('jquery') );
<div class="uploader"> <input type="text" name="settings[_unique_name]" id="_unique_name" /> <input class="button" name="_unique_name_button" id="_unique_name_button" value="Upload" /> </div>
Nothing happpens when I press the upload button
- The topic ‘How to use wordpress 3.5 media uploader in my plugin?’ is closed to new replies.