How to play/start youtube video after clicking on an image?

后端 未结 5 1475
旧巷少年郎
旧巷少年郎 2020-12-30 03:02

I have an image and I want to start a youtube video only after I click the image. How can I do this?

Thanks a lot!

5条回答
  •  灰色年华
    2020-12-30 03:54

    adding autoplay=1 only seems to work the first time. I am using a start/stop button and when i click it the first time, i add autoplay=1. Then when i click it again I remove the autoplay=1. That works fine.

    but when i try to start it again (adding autoplay=1), it won't start.

提交回复
热议问题