开发者

How can I make an embedded Vimeo video not play after the first visit to my site?

开发者 https://www.devze.com 2023-03-27 17:09 出处:网络
How can I make an embedded Vimeo video not play after the f开发者_StackOverflow社区irst visit to my site?I would create a cookie, and then check for that cookie within the embed code and set it to not

How can I make an embedded Vimeo video not play after the f开发者_StackOverflow社区irst visit to my site?


I would create a cookie, and then check for that cookie within the embed code and set it to not autoplay if the cookie exists.

Another option is to check by IP, but that can be spotty, especially with dynamic IPs, and places like coffee shops and libraries with open wifi.

0

精彩评论

暂无评论...
验证码 换一张
取 消