Support cookieless YouTube URLs
-
Hi,
Could you consider implementing support for the URLs for YouTube’s privacy mode? This is a mode that lets you embed videos without YouTube setting cookies on your visitor’s PC until after the visitor starts playing the video.
If the regular YouTube link looks like:
and the embed version looks like:
the privacy embed version looks like:
https://www.youtube-nocookie.com/embed/CAMWdvo71ls
As you can see, all that changes if you switch from regular embed to privacy embed is the domain name:
youtube.com
becomesyoutube-nocookie.com
.(Without having tested this) I suggest you change the regular expression testing for YouTube links as follows: youtube\.com becomes youtube(-nocookie)?\.com
You can try this out for yourself: 1) go to YouTube; 2) select a video; 3) Click Share; 4) Click Embed; 5) Click Show More; 6) Select “Enable privacy-enhanced mode”; and 7) copy the embed code.
https://www.ads-software.com/plugins/automatic-featured-images-from-videos/
- The topic ‘Support cookieless YouTube URLs’ is closed to new replies.