Most of the time, people come to YouTube to see what's new in music, movies, documentaries, videos funny, unusual and others. However, we never really thought that this site could have been achieved by php programming. Indeed, whether it's YouTube or other social networks, their creations have necessarily been made from a php. There are inevitably some parts of codes not to say, everywhere.
The codecs used
Initially, YouTube could offer as videos of 320 x 240 pixels for the definition. They only used the Sorenson Spark codec, which is simply a variant of the H.263 combining mono mp3. The latter was developed to transmit videos on lines with low flow rates for apps videophone or from a switched telephone network H.324 type.
In 2007, the social network has added another option that allows users to watch videos in 3gp format for mobile devices. The maximum resolution remained at 480 x 360 pixels in 2008. Then from 1280 x 720 pixels in November of the same year.
It was during the launch of the 720p YouTube player went from 4: 3 to 16: 9. It is then passed to the H.264 / MPEG-4 AVC codec combining AAC stereo or five channels + 1 channel for all bass with a sampling 48kHz or 96kHz.
The highest resolution of 1920 x 1080 in 2009 before the announcement in 2010 of the presence of four thousand video pixel wide. It was only this year that the definition 4320p 8k appeared. One can then see svidéos 360 degrees in two dimensions for each of the image definitions.
All this to say that all you can see on YouTube is made from code. When you then decide to create a website or blog, it's best to hire professionals in the field of development. These could not only bring you advice but they will realize your ambitions to perfection.