Skip to content

歌词修复,播放开始的状态修改 #8

@flashmecn

Description

@flashmecn

191行与192行 歌词换行错位修改:
lyricArea.style.webkitTransform = 'translateY(-' + tempLrcLines[tempLrcIndex].offsetTop + 'px)'; lyricArea.style.transform = 'translateY(-' + tempLrcLines[tempLrcIndex].offsetTop + 'px)';
因谷歌浏览器会禁止自动播放,会导致播放器class是播放状态,但并没有播放,
251行play()的addClass移至新建个播放事件里:audio.addEventListener('play', handleAudioStart);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions