![]() ![]() If you are an educator, get in touch with your Educational Technology platform. If you change the URL in the src attribute to the scheme above, your embed should work like you expect: īut what if you want to start the video at a certain timestamp, or create a playlist of videos to embed?Ĭheck out the YouTube IFrame Player API documentation to see how to do that and more by just adding some parameters to the URL. I am trying to do this by displaying an iframe, but despite adding the solution suggested here, and adding HTTP Content Security Policy headers as well ( Content-Security-Policy ), I have had no success displaying the iframe. You can add a YouTube video or playlist to a website or blog by embedding it. Turns out that the URL to embed a YouTube video is. You codeĮverything looks right at first glance, and the video itself works when you visit the URL in the src attribute. Which admittedly was implemented by all major browsers. I believe this is to prevent other sites from mirroring your YouTube channel as other sites have done this in the past. To learn how to fix your embedded video, read on. Unlike iframe before it was a non standard tag, which is standardized in HTML 5. If the Content Security Policy frame-ancestors directive is missing or set incorrectly when you submit your app to the Shopify App Store, then your app might be. ![]() When you do this, make sure and include the direct link to. ![]() While it looks bad, the fix is surprisingly easy. Id try embedding it and seeing if that works, but otherwise, yes, Id go ahead and contact support. ![]()
0 Comments
Leave a Reply. |