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?
If you just want to display a list of videos you can simply use rtmedia_gallery shortcode.
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