modal-video
modal-video copied to clipboard
YouTube modal not working on some browsers
Hi! I've recently downloaded your library (version 2.4.2) and I noticed that YouTube modal video only works on Chrome (version 80.X) and Safari (version 13.X), but not on Explorer (version 11.X), Edge (version 44.X) and Firefox (version 74.0).
This is the error: The script from "https://static.doubleclick.net/instream/ad_status.js" has been blocked due to the unused MIME type ("image / png"). Multi-origin request blocked (cross-origin): the origin matching criterion does not allow the remote resource to be read from https://googleads.g.doubleclick.net/pagead/id?slf_rd=1. Reason: CORS request failed.
I've tested and used your library before and I'm sure it worked! Any changes in YouTube policies? Thanks!
👍 I am also experiencing this issue. YouTube Modal only works on Chrome and Safari for me, but not Edge or Firefox.