We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Change videos on the fly

Home Forums Puzzles Change videos on the fly

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #31187
    Avatarweb
    Licensee

    I’m having a hard time to change videos on the fly. I got several videos which I need to switch on a single object with the same material. I also need the ability to stop them.

    I tried everything with the loadVideo puzzle. Overiding the same variable, creating variables for every single video. Altering the source, stopping, etc. But after the first video is being played, I got glitches.

    Any help would be appreciated. :rose:

    #31202
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    can you isolate this issue in a simple project that you could attach here?

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31205
    Avatarweb
    Licensee

    Not really.
    My current workaround is to have one material for each video I want to display. I then assign a variable for each video. Use the replaceTexture puzzle to apply video to each of the materials and then just switch between them.

    But it would be great if someone could share a maybe working example of switching between multiple videos with one material, and one video variable.

    #31248

    Hi web,

    There’s currently a bug with the “replace texture” puzzle, which prevents it from replacing a video texture with anything else. Thanks for the report! We’ll fix it in the next verge3d update.

    Co-founder and lead developer at Soft8Soft.

    #31255
    Avatarweb
    Licensee

    Great news :good:

    #31696
    Avatarweb
    Licensee

    Hey Ivan,
    can you tell me when this fixed version will be released? Would be really handy for my current project if I could replace video textures on runtime, without duplicating materials.

    Will this be a fix in the v3d.js or is it purely puzzle based issue?

    #31698

    hi web,

    The release is planned for this week, probably, in a couple of days or so.

    Will this be a fix in the v3d.js or is it purely puzzle based issue?

    It’s purely puzzle-based, you’ll only need to open your projects within the puzzle editor and resave the puzzles.

    Co-founder and lead developer at Soft8Soft.

    #31699
    Avatarweb
    Licensee

    Could you maybe post the fixed puzzle code here?

    Then I could implement the fix prior to the new release. Would really appreciate it.

    #31712
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    the new update is expected today.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.