Skip to content

feature request: gallery-like behavior for video folder? #258

Open

Description

@knguyen0105

Currently, if a folder has multiple videos I have to close a video before playing the next one. This takes 3 keystrokes: ESC, Up/Down, Enter

It would be nice if I can press '->' or '<-' to play / view the next/previous videos (or multimedia files). Similar to how cloudcmd handles images folder right now. This only takes one keystroke: Left / Right

Thanks.

Activity

  1. knguyen0105 commented on Oct 16, 2019

    @knguyen0105
    Author

    @coderaiser : could you give me a few pointers where to start? I want to give this a try myself. Thanks.

  2. coderaiser commented on Oct 16, 2019

    @coderaiser
    Owner

    @knguyen0105 I think the best way to do this, is extending @cloudcmd/modal to support video as well.
    @cloudcmd/modal is a simplified fancybox drop-in replacement.
    It used to show modals in Cloud Commander with images, editors, configuration console and terminal.

    This is how it works right now, it file client/modules/view.js there is a switch block with an image/media check.

    viewMedia uses the same modal as view, but embeds template there.

    To add video support to modal.js should be added isVideo check and would be great to add parse-media in similar way as parse-images.

    The only one open question is: now left and right keys works as rewind. What do you think the best way of handling rewind? Is it useful feature?

    I created an issue cloudcmd/modal#1.
    if you get into trouble ask me any questions and I'll help.

  3. coderaiser commented on Mar 21, 2026

    @coderaiser
    Owner

    Any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions