Feu-Secret / Tokenmagic

A Foundry VTT module that allows you to add animations and graphic effects to tokens, tiles, templates and drawings.
GNU General Public License v3.0
51 stars 36 forks source link

`loop` flag for Sprite filter is not working #227

Closed LeRatierBretonnien closed 1 year ago

LeRatierBretonnien commented 1 year ago

Module Version: v0.6.1.2 Foundry v10.288

When applying "sprite" filter with a webm, the video is playing infinitly, even if 'loop' is set to false :

image

LeRatierBretonnien commented 1 year ago

The proper fix is :

        if ( value ) game.video.play(source, {playing: true, loop: this._loop});