Refused to display in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’
I found a better solution, maybe it can help somebody replace “watch?v=” by “v/” and it will work var url = url.replace(“watch?v=”, “v/”);
I found a better solution, maybe it can help somebody replace “watch?v=” by “v/” and it will work var url = url.replace(“watch?v=”, “v/”);