Expand my Community achievements bar.

SOLVED

Video URL cache issue

Avatar

Level 1

We have a video link on our page

e.g.: /content/example_com/en/news-media/download-centre.html

When loading this page

http://www.example.com/en/news-media/download-centre.html

 

It requests a thumbnail preview image with the following URL

http://www.example.com/content/dam/example/English/downloads/Remote-Control-Center.mp4/jcr:content/renditions/cq5dam.thumbnail.319.319.png

 

this causes the path name "/content/dam/example_com/English/downloads/Remote-Control-Center.mp4/"

to be created as a folder in the dispatcher cache, which is an issue because it results in a name clash with the same URL being a file

http://www.example.com/content/dam/example/English/downloads/Remote-Control-Center.mp4

 

please suggest me some approach to solve this issue.

 

I have tried modifying the URL

http://www.example.com/content/dam/example/English/downloads/Remote-Control-Center.mp4/jcr:content/renditions/cq5dam.thumbnail.319.319.png

to

http://www.example.com/content/dam/example/English/downloads/Remote-Control-Center/jcr:content/renditions/cq5dam.thumbnail.319.319.png

but in this approach it does not picks the default thumbnail image since we modified the URL

also we need to maintain the cache

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You can solve this issue by addressing your thumbnail as - http://www.example.com/content/dam/example/English/downloads/Remote-Control-Center.mp4.thumb.319.319.png

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

You can solve this issue by addressing your thumbnail as - http://www.example.com/content/dam/example/English/downloads/Remote-Control-Center.mp4.thumb.319.319.png