开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜