News for hackers. Stuff that matters.
Re:History of the Greek-Persian Wars: Interactive Map and Ti... by nonoumasy on Friday August 05, 2022 @04:55PM (#32361876)
Not sure why it's autoscrolling. I haven't seen that issue before and also the play feature is disabled on mobile. Which phone and os do you have? I'll try to reproduce the issue.
Re:History of the Greek-Persian Wars: Interactive Map and Ti... by Andrew_nenakhov on Friday August 05, 2022 @05:29PM (#32362190)
I think this happened when I pressed play. Also works the same on Desktop. Smetana's music is nice, but the resource becomes unusable as it scrolls and scrolls to new chapters. In can record a video of you want.
Re:History of the Greek-Persian Wars: Interactive Map and Ti... by nonoumasy on Friday August 05, 2022 @05:35PM (#32362242)
Sure that would be great if you can record it. But how are you able to press play on mobile Firefox. I hid the button on mobile. Are you accessing that using Firefox dev tools?

Btw, it's suppose to autoscroll on Play. That is the feature. Its what I call the 'storyteller mode'. I am thinking of using text-to-speech to read each event before proceeding to the next event so the 5 second delay is an arbitrary setting for now.

If you don't want the autoscroll, then you can just scroll the old fashion way on the sidebar. When you do the map will flyTo() the corresponding event.

Re:History of the Greek-Persian Wars: Interactive Map and Ti... by Andrew_nenakhov on Friday August 05, 2022 @05:50PM (#32362374)
I just press the "play" button right in the center, music starts playing and everything starts jumping around. Try this link for video:

https://www.dropbox.com/s/nq0y4mywomv5vd1/20220806_024731.mp...

Re:History of the Greek-Persian Wars: Interactive Map and Ti... by nonoumasy on Friday August 05, 2022 @05:55PM (#32362416)
Thanks. I saw the video. Yes! That is what it's suppose to do when you hit 'play'. But you don't get that view on a real mobile device. The menu icon is also hidden on mobile. You only see this view on dev tools.

The play feature is only if you want the events to autoscroll for you and its part of a storyteller feature I'm working on. So you don't have to use it to scroll.

Re:History of the Greek-Persian Wars: Interactive Map and Ti... by Andrew_nenakhov on Friday August 05, 2022 @06:20PM (#32362633)
> Yes! That is what it's suppose to do when you hit 'play'.

Well. I don't think it is a good idea. In text-based content, you need to wait for some input from the user that he's done reading this part of the page and is ready to proceed further. And in your case, the page scrolls extremely fast. I'm no slow reader, but I barely manage to read the chapter headline before it scrolls.

Re:History of the Greek-Persian Wars: Interactive Map and Ti... by nonoumasy on Friday August 05, 2022 @06:23PM (#32362669)
well then, the solution is simple. Don't click 'play' and like I said, Users on mobile won't even see that 'play' button.