Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am using rtmedia plugin to upload media files in my BuddyPress site. I need to get the array of all the video file source in home page. How to achieve this?

share|improve this question
add comment

1 Answer 1

If you just want to display a list of videos you can simply use rtmedia_gallery shortcode.

[rtmedia_gallery global="true" media_type="video" media_author="1"]

You can refer here for more: https://rtcamp.com/rtmedia/docs/common/shortcodes/gallery-shortcode/

Or you can directly ask for support on Plugin website. https://rtcamp.com/support/forum/rtmedia/

For a list of functions check: https://github.com/rtCamp/rtMedia/blob/master/app/main/controllers/template/rt-template-functions.php

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.