By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,314 Members | 1,775 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,314 IT Pros & Developers. It's quick & easy.

Embed youtube video in iframe and play on my site

P: 1
Hi Everyone,

i am developing one portal, in which i need to integrate youtube website's video. youtube is providing one ifame code if i use that , i can successfully emmebed the video's in to my website... but what is the problem is when i click on the list of videos from that frames it is going to the youtube site that is www.youtube.com, instead i want that video to be played in my website. so can any one suggest me how to go ahead
Dec 8 '06 #1
Share this Question
Share on Google+
2 Replies


acoder
Expert Mod 15k+
P: 16,027
Without code, I can't say exactly, but you would need to have an object on your page that you can change the src of. What it probably does now is just link to a page on their site.
Jun 3 '08 #2

hsriat
Expert 100+
P: 1,654
YouTube seems to have changed it model now. The embedding code available for a video can be easily used for that. Click on any different video, it will remain on your page, won't go to youtube.
Jun 3 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.