I am quite puzzled at this point. I want to have restricted downloads and i already have hundreds of files on my server. However, my videos are all hosted on Amazon S3, so i can’t use the default restriction system for downloads as they are not all in the same place.
In the Download Options section, there are those shortcode attributes that one can use to specify which file is local. That is exactly what i need, however, i can’t figure out how to use a shortcode as a link on a text or an image.
If i currently have a link like this:
<a href="http://mysite.com/filename.zip" target="_blank"><img class="alignnone" src="http://mysite.com/Images/handout1.jpg" alt="" width="128" height="175" align="middle" border="0" /></a>
how do i integrate this shortcode?
[s2File download="filename.zip" storage="local" count_against_user="no"]
I tried replacing the URL by the shortcode but it is not working. I am likely missing something in the syntax, and i can’t find anything in the s2M information in the attributes and such.
Can you help?