Skip to main content

Embed youtube videos in iframes in Rails 5.2

Rails • Asked by KevinNafziger
anyone have any help suggestions for embedding youtube videos iframes.  It was working in Rails 5.1 but with the upgrade to rails 5.2 I am unable to get the youtube search videos to display in an iframe.  I have tried making content security policy lax for child items but haven't had any luck getting the videos to show. 

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.