All threads / Embed youtube videos in iframes in Rails 5.2

Ask A Question


You’re not receiving notifications from this thread.

Embed youtube videos in iframes in Rails 5.2

KevinNafziger asked in Rails
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. 
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 51,723+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.