Skip to content

[html] 第533天 html页面中如何实现gif图片重新播放? #2993

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

第533天 html页面中如何实现gif图片重新播放?

3+1官网

我也要出题

Activity

FreesFall

FreesFall commented on Oct 19, 2020

@FreesFall

因为浏览器会缓存图片,所以对于一次性gif如果不做处理的话,只会播放一次。如果需要重新播放gif,重新设置下img标签的src属性即可

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@FreesFall

        Issue actions

          [html] 第533天 html页面中如何实现gif图片重新播放? · Issue #2993 · haizlin/fe-interview