HTML5 Video not looping

后端 未结 5 1180
粉色の甜心
粉色の甜心 2021-02-04 19:09

I\'m having a weird problem. My two versions of chrome(regular & canary) refuse to loop the video i\'m showing. Or well, sometimes they loop it twice and stops after that. W

5条回答
  •  情歌与酒
    2021-02-04 19:20

    I've also found that Chrome chokes if the MP4 keyframes aren't set properly. For example, in After Effects, in Output, if the key frame distance is left as "auto" the video doesn't loop properly.

    My suspicion is that Chrome needs evenly divisible key frames within the length of the video, as in not ending between keyframes. i.e. if your video is 24 frames, make your key frame distance evenly divisible, 4 for example.

    After Effects Render Output Settings

提交回复
热议问题