YouTube embedded video: set different thumbnail

前端 未结 11 1242
忘了有多久
忘了有多久 2020-12-23 20:02

I want to embed a video from YouTube that is not mine (so I can not change it at YouTube). The video has a thumbnail that is not representative for the video (I refer to the

11条回答
  •  半阙折子戏
    2020-12-23 20:36

    I was having trouble with the autoplay from waldir's solution... using autoplay, the video was playing when the page loaded, not when the div got displayed.

    This solution worked for me except I replaced

    Watch the video

    with

    
    

    so that it would use my thumbnail in place of the text link.

提交回复
热议问题