Welcome to WebmasterWorld Guest from 18.208.159.25

Forum Moderators: phranque

Message Too Old, No Replies

Do APIs cost my bandwidth?

If hosting by YouTube

     
10:50 am on Mar 14, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 7, 2005
posts:656
votes: 0


I found some very nice videos on YouTube and would like to implement them to my website with an API - will this cost me any bandwidth? Or is it all with YouTube?

Thanks!

W.

9:59 pm on Mar 14, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 26, 2005
posts:3041
votes: 0


Are you sure you really need to use the API? If you want to display specific videos, why not just use the code snippet available for every video on YouTube?

The YouTube API has NO functions for actually streaming or playing videos. It only has functions for getting INFORMATION about videos and users, and listing videos by various criteria (most popular, featured, playlist, etc.) The latter function are erroneously referred to as "video viewing" functions in the API documentation, but they simply return information (including the URL needed to play the video) on groups of videos.

So, no, using the API will not cost you significant bandwidth. (Obviously, there is SOME bandwidth needed to retrieve the results from YouTube.)

But it's unclear that you need to use the API in the first place.

8:48 am on Mar 15, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 7, 2005
posts:656
votes: 0


Thanks, I'll try the sinppet then.

W.