I’m trying to customize the template for single-media.php to show a video only if a user has a certain capability, and to show photos to all regardless of their assigned capabilities. Are there any conditionals to query to determine if the media requested is a photo, or a video? It looks like rtmedia_media( true ) outputs both videos and photos, so a way to determine which it is first would greatly help.
Was going to look through the docs but it appears that the links are bad on the site:
Links #2 & #3 go to pages not found