Dynamic change resource url base on client devices

Dynamic change resource url base on client devices

by Anh Tung Hoang -
Number of replies: 0

Hi everyone!

I'm going to create a plugin that insert resource from external repository. And based on client device the repository will return difference url that will work best on that device. For example, return high quality picture in pc browser and low res in mobile. 

I tried the repository plugin but it seems to save a fix url to the course.

Any suggestions would be appreciated.

Thank!

Average of ratings: -