• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

youtube - what player?

what player is used behind youtube? like VLC or real or WMP etc
0
25112
Asked:
25112
  • 2
2 Solutions
 
EirmanCommented:
Youtube streaming is explained here

http://en.wikipedia.org/wiki/YouTube
0
 
BillDLCommented:
Hi 25112

There are hundreds of different "Flash enabled" multimedia "players" for the web.  Some are free to use and re-use wherever you like, others are incorporated into retail software (eg. http://www.coffeecup.com/video-player) that allow you to design pages with a player and playlists and upload everything to your web space, while others are retail but may also have limited free versions.

Examples:
http://flowplayer.org/download/index.html (free and commercial versions)
http://www.longtailvideo.com/players/jw-flv-player (free and "Pro" versions)
http://www.wimpyplayer.com/downloads/index.php (15 day evaluation)
http://www.viscomsoft.com/products/webplayer/index.html (free)

Some are limited to what types of video files they will play, and other limitations may be whether there is a full-screen mode, etc, but essentially thay all have a "player" comprising a *.SWF file that downloads to your browser's cache from the page.  The playlist file is different for the various versions. Some download an *.XML based file that contains the settings for the player plus the target path of the video, while others may load all settings from JavaScript files that are made deliberately complex so as to hide the direct link of the video that is loaded.

In some cases you have separate *.swf files in the form of skins, and you configure (eg. in the player's XML or other settings file) which one to display the player with.  Others use separate image files to supply the clickable buttons on the player in the web page.

*.SWF files are loaded into web pages using what is referred to as an "Embed Code".  YouTube and other video sites usually provide a way to copy the embed code to have the video play inside your own web page or blog, but I am referring here to using your own web player from your own website to play your own videos within it.  The code in the web page can contain as many display and playback settings as the *.SWF player allows, so the code can be very simple or very complicated, depending on whether a separate "settings file" is used to load the player's configuration file.

All players like this that I have seen require that your computer has the Adobe Flash Player plugin installed and enabled for your browser, and JavaScript also needs to be enabled for the embed code to work.

As far as YouTube's actual "Player" is concerned, it is their own one and not something you can just copy and re-use from your own web server space.  You don't need to anyway, because all you need is the very simple YouTube embed code to load the player, the video, and associated files right into your web page.  (http://www.youtube.com/watch?v=ZnehCBoYLbc)  Of course, if the content is removed from YouTube then it won't play in your own web page either.

By the look of it, the YouTube Player (which is really just the frame into which the video is fetched using scripting, was cached as "watch_as3-vflBD1mO9[1].swf" from:
http://s.ytimg.com/yt/swfbin/watch_as3-vflBD1mO9.swf
It is likely that the name will be different each session.

When you upload a video to YouTube it converts it into *.FLV (Flash Video) format or *.MP4.  When browsing YouTube videos the actual player is only cached once by your browser for re-use, and each FLV video is cached as files named something like "videoplayback" or similar (without the extension).

You should also be aware that the same YouTube page is also loading *.SWF files to display loosely in the page on their own for adverts, and also being loaded may be another player eg. http://s0.2mdn.net/instream/DartShellPlayer9_14_81_0.swf will be playing DoubleClick Instream Advertising content.

I hope this answers your question.

Bill
0
 
25112Author Commented:
very v helpful.. i'll keep this as a reference for the future,Bill.
0
 
BillDLCommented:
Thank you 25112
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now