Hide Video Controls Until User Hover Over Video

后端 未结 4 1914
萌比男神i
萌比男神i 2021-02-14 07:28

i\'m trying to hide the video controls on my video, until the user hover over the video, then the controls shows up. Any idea or advice? Thanks. And I\'ve got more than

4条回答
  •  野性不改
    2021-02-14 07:47

    Untested, but I believe this would work. It uses JavaScript instead of CSS.

提交回复
热议问题