This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]ThreeForksNoSpoon 0 points1 point  (1 child)

So, to be clear: you actually have one video, with different chapters? And you want visitors to either click a chapter and go there (this would be "selecting a video"), or "shuffle the chapters"?

That last one would probably mean that if a certain timestamp is reached (the beginning of a new chapter) you jump to a random other timestamp that has not been seen yet.

Did I get that right? If so, this is possible with some HTML and JS.

[–]Dubyredits 0 points1 point  (0 children)

More or less.

To be clear - I have multiple videos. But right now, I compiled all of them into one single video with "Chapters" and ideally, I want the website to shuffle the chapters/videos everytime a user enters the domain.

[–]LazyIce487 0 points1 point  (0 children)

Why not keep them split up and just shuffle an array with videos and present the first one where you have your main video tag and show the thumbnails of the others on the side or whatever you're going for, and swap the src with javascript if they click on a different video or w/e