Home › Forums › WPLMS AddOns › WPLMS S3 › All video to S3 and better trailer video option
- This topic has 26 replies, 2 voices, and was last updated 4 years, 3 months ago by Anshuman Sahu.
-
AuthorPosts
-
May 8, 2020 at 1:02 pm #257816Anshuman SahuKeymasterPlease add this code in your wplms-customizer.php file in wplms customizer plugin : add_action('admin_head', 'my_custom_script_add_med'); add_action('wp_footer', 'my_custom_script_add_med'); function my_custom_script_add_med(){ if(is_user_logged_in() && current_user_can('manage_options')) return; ?> <script> jQuery('button#insert-media-button').click(function($){ setTimeout(function(){ jQuery('.media-menu').find('#menu-item-gallery,#menu-item-insert,#menu-item-playlist,#menu-item-video-playlist,#menu-item-embed').remove(); jQuery('.media-menu').find('.media-menu-item:first').trigger('click'); },500); }); </script> <?php }May 11, 2020 at 2:27 pm #258360JDKCONParticipantHi Alex, I am just following up on a fix for this? thanks AnthonyMay 12, 2020 at 2:07 pm #258737Anshuman SahuKeymasterNew code provided above works in wp-admin as well on front end .May 12, 2020 at 10:33 pm #258827JDKCONParticipantHi Alex, still waiting on a solution for removing other upload options in the instructor profile when creating course uploading videos. Need to only have amazon option. Your assistance in resolving this would be much appreciated. I cant launch site till this is sorted so it is becoming critical. Regards AnthonyMay 14, 2020 at 1:53 pm #259458Anshuman SahuKeymasterDid you add this code in your customizer > https://wplms.io/support/forums/topic/all-video-to-s3-and-better-trailer-video-option/page/2/#post-257816May 18, 2020 at 3:14 am #260320JDKCONParticipantHi Alex, Sorry I didnt see page two and didnt see your response. I have now entered this code in the WPLMS customiser plugin but it hasnt worked. Also when i try to upload anything to S3 I am getting the below error https://snipboard.io/3wqOY2.jpg AnthonyMay 18, 2020 at 2:15 pm #260569Anshuman SahuKeymasterPlease share your valid ftp credentials in private reply .May 23, 2020 at 11:01 pm #262263JDKCONParticipantThis reply has been marked as private.May 25, 2020 at 1:32 pm #262612Anshuman SahuKeymasterHere its working : http://screencast-o-matic.com/watch/cYhTIwp12gAugust 6, 2020 at 6:39 am #280497JDKCONParticipantHi Alex, just following up on this. Really would like to remove the other upload tabs as options. Also I am getting an error when trying to upload anything to S3 via an instructor profile. Seems pretty bugged. <span style="color: #444444; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; font-size: 14px;">"There has been a critical error on your website. Please check your site admin email inbox for instructions."</span> Can you please assist with sorting these 2 items so site can function. thanks AnthonyAugust 7, 2020 at 11:38 am #280872JDKCONParticipantJust wanted to add that whatever changes you made seem to no longer be working. N.B - I havent removed any code. thanks AnthonyAugust 8, 2020 at 2:09 pm #281201Anshuman SahuKeymasterOld password is not working , can you please share creds again and for wplms s3 please goto wp-admin -> lms -> settings -> wplms s3 -> enable "enable plupload" settings
-
AuthorPosts
- The topic ‘All video to S3 and better trailer video option’ is closed to new replies.