Hi Brajesh,
Getting a little more complex. Yesterday I added the file upload dialogue to the group photo galleries grid view. This also added the upload dialogue to the video gallery grid view.
However, What I would like is to have the file upload dialogue in the photo gallery, but only have the remote media url link in the video gallery grid view.
Is that possible?
The problem I’ve got is that I’m getting the error message: “Please provide a url”.
I added the following code to the home.php file for groups:
if ( $gallery_type == 'video' ) { mpp_upload_dropzone( 'gallery' ); if ( mpp_is_remote_enabled( 'admin' ) ) : ?> <!-- remote media --> <div class="mpp-remote-media-container"> <div class="mpp-feedback mpp-remote-media-upload-feedback"> <ul></ul> </div> <div class="mpp-remote-add-media-row"> <input type="text" placeholder="<?php _e( 'Enter a link to a video you want to add to the gallery', 'mediapress' );?>" value="" name="mpp-remote-media-url" id="mpp-remote-media-url" class="mpp-remote-media-url"/> <button id="mpp-add-remote-media" class="mpp-add-remote-media"><?php _e( '+Add', 'mediapress' ); ?></button> </div> <?php wp_nonce_field( 'mpp_add_media', 'mpp-remote-media-nonce' ); ?> </div> <!-- end of remote media --> <?php endif; }
Viewing 7 posts - 1 through 7 (of 7 total)
The topic ‘ [Resolved] Adding remote media media URL to group video gallery grid view’ is closed to new replies.
This topic is: resolved