Forum Documentation Showcase Pricing Learn more

Display image and video in the same RG, and the closest video plugin like Instagram or twitter video player

hi, in my app users can upload image and video, my problem is i have not been able to display the image or video in there respective element, let say when the first cell index is a video file then i want it to display in the video element and likewise for the image also, i have tried putting it in different containers but just dont know how to differentiate an image from a video, any help please on the best video player i can use for this project, something close to twitter player or very simple like that of Instagram… thanks

1 Like

You can provide conditions to display the element, If content is video visible is Yes or No etc…