cresler Posted May 22, 2010 Share Posted May 22, 2010 Hi, I'm trying to set a cookie when a user enters a page (already have a login system). The cookie is for youtube to make videos default to widescreeen. I know that the cookie has the following details: name: wide value: 1 (=enabled) domain: .youtube.com ... but I dont know how to do it properly. Ive been trying to set it so that when a user logs in to my site, the cookie is set. youtube loads in a frame and I want the video to open as widescreen in the frame. however, whenever I look at the list of cookies in my browser, it isnt being created. is this the best way to do this? (I found how the cookie is created by checking the values of the cookies when I pressed the 'right turn' arrow on a youtube video) any help is much appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/202582-setting-a-youtube-cookie/ Share on other sites More sharing options...
Daniel0 Posted May 22, 2010 Share Posted May 22, 2010 Only youtube.com can set cookies for youtube.com. That's sort of the point... Quote Link to comment https://forums.phpfreaks.com/topic/202582-setting-a-youtube-cookie/#findComment-1061973 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.