Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

YouTube Advanced Privacy Setup (nocookies) doesn't work. I need to be compliant to cookie law!


Hello, I'm using JWPlayer since several years without problem, now with the new Cookies Policy Law I should use only the nocookie youtube url but doesn't work and I'm ready to delete all my YouTube Video since I don't like to pay for violation of privacy law. YouTube now allow to use nocookie url in sharing video for this purpose, JWPlayer doesn't support this kind of url... I post and example of standard url youtube that I use as usual:

<div class="otvideo" style="float: left; margin: 0 5px 5px 0"><div id="container_832014194244887">&nbsp;</div><script language="javascript" type="text/javascript">jwplayer("container_832014194244887").setup({file: "http://www.youtube.com/v/MrPpxBb3FXI?version=3&amp;hl=it_IT&amp;rel=0", height: 315, width: 560, primary: 'flash'});</script><noscript><span class="no-plugin">&nbsp;</span></noscript></div>


I I try change with this...

<div class="otvideo" style="float: left; margin: 0 5px 5px 0"><div id="container_832014194244887">&nbsp;</div><script language="javascript" type="text/javascript">jwplayer("container_832014194244887").setup({file: "https://www.youtube-nocookie.com/embed/MrPpxBb3FXI?rel=0", height: 315, width: 560, primary: 'flash'});</script><noscript><span class="no-plugin">&nbsp;</span></noscript></div>

How to solve? Please is very urgent!!!

7 Community Answers

MisterNeutron

User  
0 rated :

What happens if you use this URL for the video?

https://www.youtube-nocookie.com/watch?v=MrPpxBb3FXI?rel=0

MisterNeutron

User  
0 rated :

I take it back - doesn't work. At least, I haven't been able to make it work.

Unless JW Player can handle the "nocookie" embedding method, you might just have to embed your YouTube videos on your pages without JW Player - just use the regular YouTube player.

jherrieven

User  
1 rated :

Try the following format:

"file":"https://www.youtube-nocookie.com/v/MrPpxBb3FXI?rel=0",
"type":"youtube"

James Herrieven

MisterNeutron

User  
0 rated :

Yes, James, that appears to do the trick, at least in my limited test.

MisterNeutron

User  
0 rated :

Just a minor flaw: I cleared cookies, then visited the "nocookie" version of YouTube, and closed the browser. Then I took a look at the cookies on my PC. Guess what I found there - youtube.com and s-ytimg.com.

So, that would still appear not to satisfy the silly "Cookies Law," which appears to be legislation passed by people who don't understand how the InterWebs work, or how it's paid for.

jherrieven

User  
0 rated :

Yeah well... that's another story! ;o)

alecosnet

User  
0 rated :

type: 'youtube', did the trick, maybe future version of JWPlayer will detect a youtube video?

Thanks a lot, I really appreciate any effort...

Kind regards

This question has received the maximum number of answers.