Hello,
I'm trying to restore an old site that was using jdownloads 1.9.
Files are available but i have an issue with the preview player.
Files seems to use the old tag {play} and not {preview_player}
I don't know where to change this. (template maybe ?)
Hi
Have you looked at the article
https://www.jdownloads.net/documentation/faq-v3-9/adding-preview-files
Colin
Hello,
Yes, this was helpful.
I think I need to figure out how the (very) old layout imported from the SQL restore was created or change it to a newer layout.
Hi
inthe Layouts there are 2 placeholders relating to previews
{preview_player} {preview_url}
For example the Downloads Layout 'Files Layout Full Info v3.9' includes {preview_player}
in a section like
<!-- download description, preview and screen shots-->
<div class="jd_main {featured_class}" style="">
<div class="jd_description_wrapper">{description}</div>
<div class="jd_preview" style="">{preview_player} {mp3_id3_tag}</div>
Colin
Hello Colin,
I have a last question about the preview player. I would like add controlslist="nodownload" in the audio html5 tag. Where can i change this ?
Thanks.
Found it in "com_jdownloads/src/Helper/JDHelper.php"
I changed it in this file statically but it would be nice to have a configuration option to handle this.
Hi
Please read article
https://www.jdownloads.net/documentation/faq-v3-9/adding-preview-files
I assme you have a video file that you do not want people to download when looking at it with a video presentation. So you have a shorter 'taster' version that you use as the preview. The main video is only available as a regular downloadable file to allowed users. Several browsers defeat the "nodownload".
Colin