_SSS
Forum Replies Created
-
ok
Hi guyes,
Finally i got the solution after lot of searching here is the solutionvar video = wp.media({ title: 'Upload Video', library : { type : 'video'}, // mutiple: true if you want to upload multiple files at once multiple: false }).open() .on('select', function(e){ // This will return the selected image /video zfrom the Media Uploader, the result is an object var uploaded_video = video.state().get('selection').first(); // We convert uploaded_video to a JSON object to make accessing it easier // Output to the console uploaded_video console.log(uploaded_video); var video_url = uploaded_video.toJSON().url; var video_file_type = uploaded_video.toJSON().filename; var get_ext = video_file_type.split('.'); //console.log(get_ext); //console.log(get_ext); if($.inArray(get_ext[1],exts)>-1){ $('#'+video_id).val(video_url); }else { //alert('not allow'); $('#'+video_id).val('please select the video type mp4*').css('color','red'); } // Let's assign the url value to the input field });
Forum: Plugins
In reply to: How to remove composite product from cart in woocomerce?Hi avgils ,
the problem was in composite product plugin version update your composite product plugin and woocommerce and its works
TYHi Andrew ,
yes the problem is solved, their is spam in index.php file thats why its not working i had remove that malicious code and it works
TYForum: Fixing WordPress
In reply to: Tinymce buuton not seen when adding the new post on adminHi James ,
Thank you very much for your inputs . but the problem is fix . the malacious code on the root in index.php where i found and i remove that code it works again.
TYForum: Fixing WordPress
In reply to: Tinymce buuton not seen when adding the new post on adminHi James ,
i had did the same way that you were told but the again same result .
i had upload the fresh directory of wp-includes, wp-admin but not working .
Thank you for you replyForum: Fixing WordPress
In reply to: Tinymce buuton not seen when adding the new post on adminHi James ,
thank you for reply i had did that but same result and i dont think so its becoz of that.its something wrong in .js file . in firebug i have an error msg for wp-include/js/tinymce/tiny-mce.js fileTY
Forum: Plugins
In reply to: [WooCommerce] How to remove composite product from cart in woocomerce?Hi,
any one knows whats the issue???Hi
Thank you for u r replay .Hi,
is their any Hint?Forum: Plugins
In reply to: [The Events Calendar] how to change the event url ?hi
this is an only few event where this can happen and that events are recurring eventsForum: Plugins
In reply to: [Codestyling Localization] Translation plugin is not workingHi
anyone knows whats going wrongForum: Plugins
In reply to: [Co-Authors Plus] Guest author Biographical Info on author.phpHii Eric,
try this one$coauthors = get_coauthors(); foreach($coauthors as $each_author){ $user_id = $each_author->ID; $user_deatils=get_user_meta($user_id); var_dump($user_deatils); }
Hii marcusfant ,
Thank you for quick replay.But on my i pad it show the desktop version,
so is their any function or other setting to do in wptouch .or any other plugin you know .so make it ipad or ipod compatible .(i am using the wptouch free version )
TY
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Success message is not displayingThe Form setting wasn’t proper so i did the setting properly and its done
Ty