Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 21st, 2012  |  syntax: HTML  |  size: 10.37 KB  |  views: 283  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="vkontakte">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  5. <meta http-equiv="content-type" content="text/html; charset=windows-1251" />
  6. <style type="text/css">
  7. html {
  8.   height: 100%;
  9.   overflow: hidden;
  10. }
  11. body {
  12.   margin:0;
  13.   padding:0;
  14.   background:#F7F7F7;
  15.   height: 100%;
  16. }
  17. </style>
  18. </head>
  19. <body>
  20. <script type="text/javascript">if (!window.vk) window.vk = {loginscheme: 'https', ip_h: 'd5847732da81d3d3e8'};</script>
  21. <script src="http://vkontakte.ru/js/common.js" type="text/javascript"></script>
  22. <script src="http://vkontakte.ru/js/lib/swfobject2.js" type="text/javascript"></script>
  23.  
  24. <div id="flash_player_container_outer" style="width:100%;height:100%">
  25.  
  26.   <div id="flash_player_back" style="position:absolute;z-index:1;text-align:center;background-color:black;width:100%;height:100%"><img id="player_thumb" src="http://cs12800.vkontakte.ru/u5852158/video/l_276c0c41.jpg"/></div>
  27.   <div id="flash_player_container" style="position:relative;z-index:2;text-align:center;width:100%;height:100%;margin:auto;">
  28.     <div id="video_player" style="width:100%;height:100%;overflow:hidden">
  29.       <div id="no_flash_info" style="font-family:Tahoma;font-size:11px;margin:auto;width:320px;padding:10px;background:#FFFFFF;border:#CCCCCC 1px solid;position:relative;z-index:5;">
  30.         <div>Для просмотра необходим <a href='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW'>Flash Player</a> последней версии.</div>
  31.         <div id='player_html5_msg' style='display:none'>
  32.           <div>(Flash-проигрыватель обладает более широкой функциональностью).</div>
  33.  
  34.           <div><br/><a href='javascript:loadHtml5Player();'>Открыть HTML5 видео проигрыватель.</a></div>
  35.         </div>
  36.       </div>
  37.     </div>
  38.   </div>
  39. </div>
  40.  
  41. <div id="playerWrap" style="height: 100%;">
  42. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="playerObj" style="display:none" width="100%" height="100%">
  43. <param name="movie" value="http://vk.com/swf/VideoPlayer4_0.swf?29"></param>
  44. <param name="allowFullScreen" value="true"></param>
  45.  
  46. <param name="allowscriptaccess" value="always"></param>
  47. <param name="flashvars" value="uid=5852158&amp;vid=161830346&amp;oid=12830869&amp;host=http://cs12800.vk.com/&amp;vtag=c9a9001406&amp;ltag=l_276c0c41&amp;vkid=144982592&amp;md_title=%D0%A0%D0%B5%D0%BA%D0%BB%D0%B0%D0%BC%D0%B0+%D0%9C%D0%B5%D1%80%D1%81%D0%B5%D0%B4%D0%B5%D1%81%D0%B0+%D0%95+%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0&amp;md_author=%D0%94%D0%BC%D0%B8%D1%82%D1%80%D0%B8%D0%B9+%D0%9D%D0%B0%D1%83%D0%BC%D0%BE%D0%B2&amp;hd=1&amp;no_flv=1&amp;hd_def=-1&amp;dbg_on=0&amp;t=&amp;thumb=http://cs12800.vkontakte.ru/u5852158/video/l_276c0c41.jpg&amp;hash=40dd5c2a40a3cf952bda565f57a09ceb&amp;hash2=6cad4624dd5daced&amp;is_vk=1&amp;is_ext=1&amp;lang_volume_on=%D0%92%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C+%D0%B7%D0%B2%D1%83%D0%BA&amp;lang_volume_off=%D0%A3%D0%B1%D1%80%D0%B0%D1%82%D1%8C+%D0%B7%D0%B2%D1%83%D0%BA&amp;lang_volume=%D0%93%D1%80%D0%BE%D0%BC%D0%BA%D0%BE%D1%81%D1%82%D1%8C&amp;lang_hdsd=%D0%A1%D0%BC%D0%B5%D0%BD%D0%B8%D1%82%D1%8C+%D0%BA%D0%B0%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%BE&amp;lang_fullscreen=%D0%9D%D0%B0+%D0%B2%D0%B5%D1%81%D1%8C+%D1%8D%D0%BA%D1%80%D0%B0%D0%BD&amp;lang_window=%D0%A1%D0%B2%D0%B5%D1%80%D0%BD%D1%83%D1%82%D1%8C&amp;lang_rotate=%D0%9F%D0%BE%D0%B2%D0%B5%D1%80%D0%BD%D1%83%D1%82%D1%8C&amp;video_play_hd=%D0%A1%D0%BC%D0%BE%D1%82%D1%80%D0%B5%D1%82%D1%8C+%D0%B2+%D0%B2%D1%8B%D1%81%D0%BE%D0%BA%D0%BE%D0%BC+%D0%BA%D0%B0%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%B5&amp;video_stop_loading=%D0%9E%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%B8%D1%82%D1%8C+%D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D1%83&amp;video_player_version=%D0%92%D0%9A%D0%BE%D0%BD%D1%82%D0%B0%D0%BA%D1%82%D0%B5+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE+%D0%BF%D0%BB%D0%B5%D0%B5%D1%80+&amp;video_player_author=%D0%90%D0%B2%D1%82%D0%BE%D1%80+%D0%BF%D0%BB%D0%B5%D0%B5%D1%80%D0%B0+-+%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B5%D0%B9+%D0%A5%D0%B0%D1%80%D1%8C%D0%BA%D0%BE%D0%B2&amp;goto_orig_video=%D0%9F%D0%B5%D1%80%D0%B5%D0%B9%D1%82%D0%B8+%D0%BA+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D0%B8&amp;video_get_video_code=%D0%9A%D0%BE%D0%BF%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D1%8C+%D0%BA%D0%BE%D0%B4+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE&amp;video_load_error=%D0%92%D0%B8%D0%B4%D0%B5%D0%BE%D1%84%D0%B0%D0%B9%D0%BB+%D0%B5%D1%89%D0%B5+%D0%BD%D0%B5+%D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%B8%D0%BB%D1%81%D1%8F+%D0%B8%D0%BB%D0%B8+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80+%D1%81+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%BC+%D0%B2%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D0%BE+%D0%BD%D0%B5%D0%B4%D0%BE%D1%81%D1%82%D1%83%D0%BF%D0%B5%D0%BD&amp;video_get_current_url=%D0%9A%D0%BE%D0%BF%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D1%8C+%D1%81%D1%81%D1%8B%D0%BB%D0%BA%D1%83+%D0%BD%D0%B0+%D0%BA%D0%B0%D0%B4%D1%80"></param>
  48. <param name="wmode" value="opaque"></param>
  49. <embed id="flash_video_obj" src="http://vk.com/swf/VideoPlayer4_0.swf?29" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="100%" height="100%" wmode="opaque" flashvars=uid=5852158&amp;vid=161830346&amp;oid=12830869&amp;host=http://cs12800.vk.com/&amp;vtag=c9a9001406&amp;ltag=l_276c0c41&amp;vkid=144982592&amp;md_title=%D0%A0%D0%B5%D0%BA%D0%BB%D0%B0%D0%BC%D0%B0+%D0%9C%D0%B5%D1%80%D1%81%D0%B5%D0%B4%D0%B5%D1%81%D0%B0+%D0%95+%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0&amp;md_author=%D0%94%D0%BC%D0%B8%D1%82%D1%80%D0%B8%D0%B9+%D0%9D%D0%B0%D1%83%D0%BC%D0%BE%D0%B2&amp;hd=1&amp;no_flv=1&amp;hd_def=-1&amp;dbg_on=0&amp;t=&amp;thumb=http://cs12800.vkontakte.ru/u5852158/video/l_276c0c41.jpg&amp;hash=40dd5c2a40a3cf952bda565f57a09ceb&amp;hash2=6cad4624dd5daced&amp;is_vk=1&amp;is_ext=1&amp;lang_volume_on=%D0%92%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C+%D0%B7%D0%B2%D1%83%D0%BA&amp;lang_volume_off=%D0%A3%D0%B1%D1%80%D0%B0%D1%82%D1%8C+%D0%B7%D0%B2%D1%83%D0%BA&amp;lang_volume=%D0%93%D1%80%D0%BE%D0%BC%D0%BA%D0%BE%D1%81%D1%82%D1%8C&amp;lang_hdsd=%D0%A1%D0%BC%D0%B5%D0%BD%D0%B8%D1%82%D1%8C+%D0%BA%D0%B0%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%BE&amp;lang_fullscreen=%D0%9D%D0%B0+%D0%B2%D0%B5%D1%81%D1%8C+%D1%8D%D0%BA%D1%80%D0%B0%D0%BD&amp;lang_window=%D0%A1%D0%B2%D0%B5%D1%80%D0%BD%D1%83%D1%82%D1%8C&amp;lang_rotate=%D0%9F%D0%BE%D0%B2%D0%B5%D1%80%D0%BD%D1%83%D1%82%D1%8C&amp;video_play_hd=%D0%A1%D0%BC%D0%BE%D1%82%D1%80%D0%B5%D1%82%D1%8C+%D0%B2+%D0%B2%D1%8B%D1%81%D0%BE%D0%BA%D0%BE%D0%BC+%D0%BA%D0%B0%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%B5&amp;video_stop_loading=%D0%9E%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%B8%D1%82%D1%8C+%D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D1%83&amp;video_player_version=%D0%92%D0%9A%D0%BE%D0%BD%D1%82%D0%B0%D0%BA%D1%82%D0%B5+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE+%D0%BF%D0%BB%D0%B5%D0%B5%D1%80+&amp;video_player_author=%D0%90%D0%B2%D1%82%D0%BE%D1%80+%D0%BF%D0%BB%D0%B5%D0%B5%D1%80%D0%B0+-+%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B5%D0%B9+%D0%A5%D0%B0%D1%80%D1%8C%D0%BA%D0%BE%D0%B2&amp;goto_orig_video=%D0%9F%D0%B5%D1%80%D0%B5%D0%B9%D1%82%D0%B8+%D0%BA+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D0%B8&amp;video_get_video_code=%D0%9A%D0%BE%D0%BF%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D1%8C+%D0%BA%D0%BE%D0%B4+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE&amp;video_load_error=%D0%92%D0%B8%D0%B4%D0%B5%D0%BE%D1%84%D0%B0%D0%B9%D0%BB+%D0%B5%D1%89%D0%B5+%D0%BD%D0%B5+%D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%B8%D0%BB%D1%81%D1%8F+%D0%B8%D0%BB%D0%B8+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80+%D1%81+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%BC+%D0%B2%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D0%BE+%D0%BD%D0%B5%D0%B4%D0%BE%D1%81%D1%82%D1%83%D0%BF%D0%B5%D0%BD&amp;video_get_current_url=%D0%9A%D0%BE%D0%BF%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D1%8C+%D1%81%D1%81%D1%8B%D0%BB%D0%BA%D1%83+%D0%BD%D0%B0+%D0%BA%D0%B0%D0%B4%D1%80></embed>
  50. </object>
  51. </div>
  52.  
  53. <script type="text/javascript">
  54. var video_host = 'http://cs12800.vk.com/';
  55. var video_uid = '5852158';
  56. var video_vtag = 'c9a9001406';
  57. var video_no_flv = 1;
  58. var video_max_hd = '1';
  59. var video_title = '%D0%A0%D0%B5%D0%BA%D0%BB%D0%B0%D0%BC%D0%B0+%D0%9C%D0%B5%D1%80%D1%81%D0%B5%D0%B4%D0%B5%D1%81%D0%B0+%D0%95+%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0';
  60. var video_author = '%D0%94%D0%BC%D0%B8%D1%82%D1%80%D0%B8%D0%B9+%D0%9D%D0%B0%D1%83%D0%BC%D0%BE%D0%B2';
  61. var fixed_player_size = false;
  62.  
  63. function loadHtml5Player() {
  64.   addCss('css/video_html5.css');
  65.   attachScript('html5_js', '/js/video_html5.js?4');
  66.   ge('player_thumb').style.display = 'none';
  67.   onResize(null);
  68. }
  69.  
  70. (function(){
  71. onDomReady(function(){
  72.   if(swfobject.hasFlashPlayerVersion('9')) {
  73.     ge('flash_player_container_outer').style.display = 'none';
  74.     var p = ge('playerObj');
  75.     if (p) p.style.display = 'block';
  76.   } else {
  77.     //onResize(null);
  78.   }
  79.  
  80. <!-- tns-counter.ru -->
  81.   (new Image()).src = 'http://www.tns-counter.ru/V13a***R>' + document.referrer.replace(/\*/g,'%2a') + '*vkontakte_ru/ru/UTF-8/tmsec=vk_player/' + Math.round(Math.random() * 1000000000);
  82. <!--/ tns-counter.ru -->
  83.  
  84. });
  85. })();
  86.  
  87. addEvent(ge('player_thumb'), 'load', onLoad);
  88. var thumb_ratio = 1;
  89. var thumb_height = 0;
  90. function onLoad(e) {
  91.   var thumbSz = getSize(ge('player_thumb'));
  92.   thumb_ratio = thumbSz[0] / thumbSz[1];
  93.   thumb_height = thumbSz[1];
  94.   onResize(null);
  95. }
  96.  
  97. addEvent(window, 'resize', onResize);
  98. function onResize(e) {
  99.   var popup = ge('no_flash_info');
  100.   var popupSz = getSize(popup);
  101.   var thumb = ge('player_thumb');
  102.   var backSz = getSize(ge('flash_player_container_outer'));
  103.   var hh = backSz[1] + "px";
  104.   var p1 = ge('html5-player');
  105.   if (p1) {
  106.     setStyle(p1, {width:'100%',height:hh});
  107.     setStyle(ge('bg'), {width:'100%',height:hh});
  108.     centerPopup();
  109.     calcPrLineW();
  110.   }
  111.   var p2 = ge('flash_video_obj');
  112.   if (p2) {
  113.     //p2.style.height = hh;
  114.   }
  115.   if (backSz[0] / backSz[1] < thumb_ratio) {
  116.    setStyle(thumb, {width:'100%',height:''});
  117.    var thumbSz = getSize(thumb);
  118.    thumb.style.marginTop = ((backSz[1] - thumbSz[1]) / 2) + 'px';
  119.  } else {
  120.    setStyle(thumb, {width:'',height:'100%',marginTop:0});
  121.  }
  122.  popup.style.top = ((backSz[1] - popupSz[1]) / 2) + 'px';
  123. }
  124. </script>
  125.  
  126. <!-- tns-counter.ru -->
  127. <noscript>
  128.   <img src="http://www.tns-counter.ru/V13a****vkontakte_ru/ru/UTF-8/tmsec=vk_player/" width="1" height="1" alt="">
  129. </noscript>
  130. <!--/ tns-counter.ru -->
  131. </body>
  132. </html>
clone this paste RAW Paste Data