Embedding youtube videos onto website not working. All other sites working.....

hi guys,

We have a web server which we are trying to test video embedding. As an example, I will give you the details of one of our test servers. So basically, we run a service called 'iframely'. Once we have done this, we can test whether the video embedding will work.

Example: http://52.19.118.253:8061/iframely?uri=https://www.youtube.com

In the above, if you put this into your browser you will go to a page with black text and this confirms that it works. Logging onto a particular page, you will see an embedded video which is how it should always be. However, if I put this same IP but with a specific youtube video, such as:

http://52.19.118.253:8061/iframely?uri=https://www.youtube.com/watch?v=TqB2-FRZy0s . This will return a page can't be found. I'm trying to figure out what it could be.

Any ideas at all?
Thank you again for looking into this.

Cheers
Yash
LVL 1
YashyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
I'm not getting anything from either link.  Youtube doesn't allow their videos to be put in iframes which may be why you're getting the 'page not found'.
0
Paul SauvéRetiredCommented:
this is the YouTube code to embed the video:
<iframe width="560" height="315" src="https://www.youtube.com/embed/TqB2-FRZy0s" frameborder="0" allowfullscreen></iframe>

Open in new window


Just for fun, I put it on my blog: http://www.photopablo.com/2015/10/theellenshow-science/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
YashyAuthor Commented:
Thanks guys. It's strange why the links were not working.

Cheers Paul for that. The thing is that we want people to be able to post youtube videos onto our 'wall' (similar to facebook). So it's not static in effect and we can't embed the iframe in the code. So we're using something called Iframely. But it will work when you post the www.youtube.com homepage, just not the rest of the videos on there.

Any ideas?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.