Zen Posted on Feb 19, 2020 How to Load Youtube with AJAX? #help Like this: $(".youtube").load("https://youtube.com") Enter fullscreen mode Exit fullscreen mode I got error: CORS Top comments (4) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Jysan Aziz Jysan Aziz Jysan Aziz Follow A software engineer by profession, a problem solver from heart with a professional industrial experience more than two years. Location Dhaka,Bangladesh Education B.Sc in Computer Science & Engineering Work Lead Software Developer at Reddot Digital Limited (Robi IT) Joined Apr 8, 2018 • Feb 19 '20 Dropdown menu Copy link Hide Will you please elaborate your use case please? You want to embed a youtube video in HTML page and loading the url with ajax? Or something else? Collapse Expand Zen Zen Zen Follow Mahasiswa Psikologi Email muhzaini30@gmail.com Location Samarinda Education Psikologi, TI Work Developer Android at Toko sepeda Sinar Jaya Joined Mar 25, 2019 • Feb 19 '20 Dropdown menu Copy link Hide I was edited my post. Collapse Expand Jysan Aziz Jysan Aziz Jysan Aziz Follow A software engineer by profession, a problem solver from heart with a professional industrial experience more than two years. Location Dhaka,Bangladesh Education B.Sc in Computer Science & Engineering Work Lead Software Developer at Reddot Digital Limited (Robi IT) Joined Apr 8, 2018 • Feb 19 '20 Dropdown menu Copy link Hide Well I am assuming you have a class in html tag or div where you want to load any youtube video or page. You can use iframe or embed tag instead I guess! Zen Zen Zen Follow Mahasiswa Psikologi Email muhzaini30@gmail.com Location Samarinda Education Psikologi, TI Work Developer Android at Toko sepeda Sinar Jaya Joined Mar 25, 2019 • Feb 19 '20 Dropdown menu Copy link Hide Thanks Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (4)
Will you please elaborate your use case please? You want to embed a youtube video in HTML page and loading the url with ajax? Or something else?
I was edited my post.
Well I am assuming you have a class in html tag or div where you want to load any youtube video or page. You can use iframe or embed tag instead I guess!
Thanks