Build a Video Display Using iframe - Step 7

告诉我们发生了什么:

**I have added the attribute, but it is still wrong and cannot pass./**referrerpolicystrict-origin-when-cross-origin

到目前为止你的代码

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Display Videos in an iframe</title>
  </head>
  <body>
    <h1>iframe Video Display</h1>
    <iframe
      width="560"
      height="315"
      src="https://www.youtube.com/embed/I0_951_MPE0"

<!-- User Editable Region -->

      allow="accelerometer autoplay clipboard-write encrypted-media gyroscope web-share"
      referrerpolicy   
      strict-origin-when-cross-origin

<!-- User Editable Region -->

    >

    </iframe>
  </body>
</html>

你的浏览器信息:

用户代理是: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0

挑战信息:

Build a Video Display Using iframe - Step 7

Welcome to the forum @JQK

The referrerpolicy attribute needs a value assigned to it.

Happy coding

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.