Attaching Videos

Hi guys,

What does it mean when I attach a video and it says " www.amazon.com/YouTube.com refused to connect."

How can I solve this issue or what are other ways I could attach videos.

This is for my Product Landing Page.

Challenge Link: https://www.freecodecamp.org/learn/2022/responsive-web-design/build-a-product-landing-page-project/build-a-product-landing-page.

:pray:t6:

The two ways I have tried to code it:

1st way: Blank screen.

	<video id="video" src="https://youtu.be/7UvfmvMU3Vc" width="560" height="315" title="Meta Quest Pro Video" frameborder="0" controls allowfullscreen></video>

Secondly, error message I mentioned above.

    <iframe id="video" width="560" height="315" src="https://www.amazon.com/vdp/01827f23f5af406ea295d6f0b87a0b16?product=B09Z7KGTVW&ref=cm_sw_em_r_ib_dt_Pi4nSPqsfs9Xm" title="Meta Quest Pro Video" frameborder="0" allowfullscreen></iframe>

Thank you so much Randell. That actually worked.

And yeah, Iโ€™ll see if I wonโ€™t be able to do the same thing for Amazon vids in case I canโ€™t find what Iโ€™m looking for on YouTube.

Appreciated :pray:t6: :rose:

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