Cannot get VideoProfile on publish server
We have the following js code to generate a component with a video (inspired by foundation/components/video/source.jsp)
VideoProfile = com.day.cq.dam.video.VideoProfile,
for (var i=0;i<videoProfiles.length;i++){
var vf = VideoProfile.get(resolver, videoProfiles[i]);
On the publish server, the returned videoProfile (vf) is always null, except if I login as admin. I assume this is some permission issue, maybe on /etc/dam/video.
What are the expected permissions on a publish server? What should I do so that an anonymous user can see the video?
