rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dj

Pages: 1 2 3 ... 19
1
So I'm working on a minimize template that works with thumbnail generating with FFmpeg.

review
create thumbs on upload only with javascript (add thumbsize=128, doesn't work with psd files)


update:
you can try to show build-in thumbnails (normally for jpeg)

2
HTML & templates / Re: Responsive small screen template
« on: April 15, 2021, 04:21:29 AM »
Adding an i before the closing bracket causes the value to be compared case-insensitively
a[href$=".mp3" i]

3
HTML & templates / Re: Responsive small screen template
« on: April 14, 2021, 04:55:46 AM »
Audioplayer(srt) shows srt subtitles (srt to vtt on-the-fly)

4
welcome,

something like this in events

Code: [Select]
[request completed]
{.add to log|%item-resource%.}
{.if|{.%item-resource%=\dj\apps\hfs2\test\changelog.txt.}|{:{.add to log|exec.}:}.}

5
HTML & templates / Re: How can I implement thing on image attached?
« on: March 17, 2021, 01:17:11 PM »
alt. without macros

Code: [Select]
[+]
<script>
[...document.querySelectorAll('#files a[href$="/"]')].forEach(item =>
 item.insertAdjacentHTML('afterend', '<a href="http://example.site/view-2.php?name='+item.innerText.trim()+'"> Info </a>')
)
</script>

6
HFS ~ HTTP File Server / Re: How to show thumbnail of JPG image file?
« on: March 17, 2021, 07:38:43 AM »
welcome,

There are several ways.
When I have time, I'll write it again detailed.

I think the easiest way to show build-in thumbnails with photos is with hfs2.4 and mobil-light template.

Alt. for the hfs2.4 default tpl you can add Jpgimgthumb_S.diff.tpl


Edited:
ThumbsV5.6 (hidden in mobil-lightV5.6.3betabundle) show thumbs of subfolder thumb
create thumbs on upload

7
HTML & templates / Re: Responsive small screen template
« on: March 14, 2021, 07:55:50 AM »
I think that the most efficient way to load ... scripts is: ...

yes, it's the old way before modules:
Code: [Select]
<span onclick="import('/~audiopl.js').then(obj => obj.audiop())">👁</span>

8
HTML & templates / Re: Responsive small screen template
« on: March 10, 2021, 04:20:00 PM »
I have noticed that templates with server-management top menu causes all users to expect that they Should be doing server-management
try mobil-light ≥ 5.6.2 (opt. stick navigation)
Note the differences when scrolling before and after selecting an item

alt. menu after files:
Code: [Select]
[+]
<style>
header {order:1}
/* bottom: 0px; position: sticky */
</style>

9
HTML & templates / Re: Responsive small screen template
« on: March 04, 2021, 05:09:21 PM »
1. todo
2. not necessary (press MediaKeys on keyboard or lockscreen on cell phone to see title(filename))
   mozGetMetadata works with FF and ogg files (Chrome shows duration instead)
3. remove function art
4. plays all kind of possible audio, when you select it first

10
HTML & templates / Re: Responsive small screen template
« on: March 04, 2021, 04:35:54 AM »
Now let's sing karaoke 🤷
(only sad songs at the moment)

Code: [Select]
WEBVTT

00:01.000 --> 00:07.000
<c>Never drink</c> <00:03.000><c>liquid</c><00:05.000> <c>nitrogen.</c>

00:08.000 --> 00:09.000
Ever drink banana nitrogen.

Audioplayer(cover) shows embeded cover of ogg files (FF only)

P.S. to play videos with subtitle: a mp3 file must be in folder (to trigger videoplayer), select a mp4 and click it
SRTtoVTT
LRCtoVTT


11
it seems a problem of curl
searching in google I find:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/curl-command-issue-with-special-characters/qaq-p/259276
untested

-H "Content-Type: application/x-www-form-urlencoded; charset=utf-8"

12
welcome,

try hfs2.4 beta

13
HTML & templates / Re: Responsive small screen template
« on: March 02, 2021, 05:28:59 AM »
Yes.
Add querystring ?shuffle=true or
set var shuffle=true

14
HTML & templates / Re: Responsive small screen template
« on: February 24, 2021, 06:59:20 PM »
For your 'classic' audioplayer in Stripes.tpl, how do I....?
When I have time, I'll try to write a module version of the classic audioplayer.

In the meantime you can use Audioplayer5(module).
It works also with hfs2.4 default and Stripes.tpl.

Code: [Select]
if(!document.querySelector('a[href$=".mp3"], a[href$=".ogg"], a[href$=".m4a"]')) return  //add fileext here
import('/~audiopl.js')
 .then(obj => obj.audiop())
 .catch(error => console.log("err"))  //do error handling here  // setTimeout(ap, 509)

yes, the classic audio player seems loading just fine.
modules are deferred automatically

version7 will show subtitles (set vtt=true)

15
HTML & templates / Re: Responsive small screen template
« on: February 10, 2021, 03:39:19 PM »
to fix the 'easter egg'
Code: [Select]
[+]
<style>
main span:last-child::after {content:" ☐"}
</style>

Quote
{.set ini|use-iso-date-format=yes.}
how to reset, if user change tpl?


changelog: Add hfs.filelist.tpl (and opt. stream)
5.6.5: opt. add select checkboxes, fixed empty lines

Pages: 1 2 3 ... 19