Tell us what’s happening:
Hello everyone, im new into coding and i have a problem with one of my html lessons. This lesson require me to use iframe and its attribute “allow” with the value “accelerometer;autoplay;clipboard-write”. When i do the code exactly like it is told to me it still does not show me that i pass it but it tell me to the same thing again and again. Can someone explain me please how to pass this one. Thank you for reading this and would appriciate everyone who can help!
Your code so far
<!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>
<!-- User Editable Region -->
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/I0_951_MPE0"
allow="accelerometer; autoplay; clipboard-write"
>
</iframe>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 OPR/123.0.0.0
Challenge Information:
Build a Video Display Using iframe - Step 5