Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videos now prioritize playing to the end over slideshow timer (and random sort in personal list) #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cryptobotanist
Copy link

Changed the timer of the slideshow and personal list to an interval
Model has a slideshow lock in place that gets activated when a video (and not an image) is loaded
View now notifies when the video has looped, allowing for some future shenanigans, now it just turns off the lock of the slideshow that prevents the ticker from changing to the next slide if the video hasn't played entirely once.

The new timer system also has personal list slideshow mode working again, even though the sites manager callback for when the content has finished loading has been deleted and the slidwshow mode of the personal list just does not care about that (yet).

No option to override this has been added, as this sounds like the proper intended behaviour (fast paced short content, allowing short loops to run multiple times before switching and full length long videos)

Additionally, "sort:random" now works as a filter in the personal list. Any "sort" is detected and filtered out of the tags list, but if sort:random is used, then the filtered list will be shuffled, which is neat.

…uses a ticker to be able to tell if the video playing has finished at least once so video playback is prioritized over slideshow interval. The check for when the video finishes loading has been removed in the favorites section due to sites manager not handling that well there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant