no need to load screenrecorder js
change resource output depending on media type (video, audio, or image)