Recent Posts

Pages: [1] 2 3 ... 10
1
HTML & templates / Re: Responsive small screen template
« Last post by danny on July 15, 2019, 10:36:27 PM »
I don't know. I think, theres no double-download, the browser downloads parts (can see in browser network analysis) (it's the filesize of your song 2M?)
It was a 1M file that made 2M traffic.
Happens erratically.  Most puzzling.
Perhaps it is because of the GET request that occurs...after...the file was fully downloaded? 
Also, I am not seeing partial requests.  Instead of chunks, it is streaming.

Did I make a mistake in the editing?
2
HTML & templates / Re: Responsive small screen template
« Last post by dj on July 15, 2019, 08:21:47 PM »
The double-download problem is intermittent.  Also the number of get requests varies.
I don't know. I think, theres no double-download, the browser downloads parts (can see in browser network analysis) (it's the filesize of your song 2M?)
stackoverflow don't help really
the multiple requests have status 206 (partial content load)

i will try tonight to add preload='auto' to the play button, perhaps this helps
Code: [Select]
but.onclick=function(){if(audio.paused) {audio.preload='auto'; audio.play()} else {audio.pause()}}
update: yes, you make a mistake in the editing (changinging the play button is not nessary)
3
HTML & templates / Re: Responsive small screen template
« Last post by danny on July 15, 2019, 06:38:42 PM »
The double-download is intermittent.  Also the number of get requests varies.

There seems to be a get request After the mp3 has download; and sometimes that extra get request can download the mp3 file yet again.  Sometimes many times in a row.  Sometimes infrequently. 
4
HTML & templates / Re: Responsive small screen template
« Last post by danny on July 15, 2019, 01:48:10 PM »
That solved the problem of doing stuff before play clicked.  New problem:  downloading songs twice while playing.

Edit: the file is actually 1075kB
5
HTML & templates / Re: Responsive small screen template
« Last post by dj on July 15, 2019, 05:43:28 AM »
@danny set the last audio.preload to 'none' (untested at the moment)

6
HTML & templates / Re: Responsive small screen template
« Last post by danny on July 15, 2019, 05:26:13 AM »
The slideshow is working ever so nicely.

However, I'm having a problem with the MP3 folder player.  There seems to be 1 or 2 megabytes preloading even though the play button hadn't been clicked.

Even with a two day effort, I couldn't seem to knacker the preloading--all attempts at edit were met with either not play or full file downloading.  So, I need so help to make sure that the music player downloads nothing unless the play button is clicked; as well as not increase the connection count, unless the play button is clicked. 
7
HTML & templates / Re: Responsive small screen template - pictureviewer
« Last post by dj on July 15, 2019, 03:53:14 AM »
center on screen with with object-fit zooms small images
Exit from fullscreen with Esc Button (or back button on android ◁ )

P.S. to dim the background add
Code: [Select]
outline: 9999px solid rgba(0,0,0,0.5)
update: v2 centers images
8
I just use Google RDT for remote access to my Win10 server. It normally sleeps so I use MagicPacket from the Microsoft store to Wake up on Wan, then access with https://remotedesktop.google.com/. Easy Peasy
9
Throwback11Photo:
It has slideshow, photo thumbnails via load-on-scroll bandwidth saver, mp3 folder player, etc... and, for speed, the features are provisioned After the file listing completes.
Tested on Phone and PC.  Enjoy!
http://rejetto.com/forum/index.php?action=dlattach;topic=12055.0;attach=9295
Thanks to DJ for the delete, slideshow and music player scripts

Throwback11basic:
It supports Dish, Dial-Up, G, Rural DSL, Mesh and other bandwidth conservation needs. 
It can run with hfs individual connection limit set as low as you want, for supporting a large number of simultaneous users.
10
HTML & templates / Re: Responsive small screen template - pictureviewer
« Last post by danny on July 12, 2019, 07:09:28 PM »
Code: [Select]
top:50%; left:50%; transform:translate(-50%,-50%)
Or this, with object-fit:
Code: [Select]
mod.style = 'position:fixed;top:0px;max-height:100%;height:100vh;width:100vw;image-orientation:from-image;z-index:2;background:rgba(0,0,0,0.85);object-fit:contain';Attached sample.  Although, note that I turned off the borderless fullscreen mode because there were no on-screen controls to exit from that mode (the _ typo is from me, and on purpose).  The attached sample is working quite nicely.  Not fundamentally different--just styled. 
Pages: [1] 2 3 ... 10