My Embedded YouTube Video Player Will Not Work in IOS

I have a website nnarie.com where my embedded YouTube videos would not work on my iPad or iPhone! I kept getting the error “an error occurred please try again later”. Clicking the learn more didn’t help and I couldn’t find any solutions in Google?

IOS YouTube Embed Issue - An Error Occurred, Please Try Later
IOS YouTube Embed Issue – An Error Occurred, Please Try Later

It took me a while to find the culprit, but it was in the embedding code that YouTube provides (see the image / blue arrow below).

IOS YouTube Embed Issue - nocookie
IOS YouTube Embed Issue – nocookie

The Solution

Removing “-nocookie” from the line of code fixed the issue (see the HTML code below).

<iframe width=”560″ height=”315″ src=”https://www.youtube-nocookie.com/embed/videoseries?list=PLdlYJP8EbmOL4_9KoRuXnrTEu6axRcL3x” style=”border:0em;” allowfullscreen></iframe>

Which then allowed the video to work in IOS (iPad and iPhone). You can see my working example below.

Autumn Leaves – Played on BBC Radio!