I’ve the exactly same so I decided to comment my code and paste yours instead. But it still don’t work inside my iOS simulator or iPhone.
But It work great on my browser.
So I don’t know why. But thanks for your time and your answers