I need to set cookies for youtube video that will autoplay only once per session.
(let say 12 hours or 24 hours)
- I have a youtube video in the footer of a site this is the one that need to autoplay only once per sessions.
- I have a youtube videos page with videos that are not autoplay, so the code should not interfere with those videos.
- The way the autoplay video is embeded is like this:
" frameborder="0" allowfullscreen></iframe>
I don't need this the urls are already in place I just need to set cookies for one video.
PS I have to do this for one PHP website and for one HTML website