Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. <html>
  2. <head>
  3. <meta charset="UTF-8" >
  4. <title> Anime is a mistake</title>
  5. <link rel="shortcut icon" href="icon.png">
  6. <link rel="stylesheet" type="text/css" href="vid.css">
  7. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Rancho&effect=shadow-multiple">
  8. <script>
  9.  
  10. var video = document.getElementById('coubVideo');
  11. var volu3 = document.getElementById('vol-control');
  12.  
  13. window.setInterval(changevolume(), 100);
  14.  
  15. function changevolume() {
  16.  
  17. var x = volu3.value;
  18. var y = x / 100;
  19.  
  20. video.volume = y;
  21. }
  22.  
  23. function videoplay() {
  24. var videoplay = document.getElementById('coubVideo').contentWindow;
  25. videoplay.postMessage('play', '*');
  26. }
  27.  
  28. function videostop() {
  29. var videostop = document.getElementById('coubVideo').contentWindow;
  30. videostop.postMessage('stop', '*');
  31. }
  32.  
  33. function videomute() {
  34. var videomute = document.getElementById('coubVideo').contentWindow;
  35. videomute.postMessage('mute', '*');
  36. }
  37.  
  38. function videounmute() {
  39. var videounmute = document.getElementById('coubVideo').contentWindow;
  40. videounmute.postMessage('unmute', '*');
  41. }
  42.  
  43. </script>
  44. </head>
  45.  
  46. <body>
  47. <div id="player">
  48. <div id="volume">
  49.  
  50. <iframe
  51. id="coubVideo"
  52. src="http://coub.com/embed/iz0ir?muted=false&autostart=true&originalSize=false&startWithHD=false"
  53. frameborder="0"
  54. ></iframe>
  55. </div>
  56. <!--
  57. <div class="menu row" self="top">
  58. <div class="col-lg-2 col-md-2 col-sm-6 col-xs-12">
  59. <a href="#" onclick="loadPage(this)" data-page="home" class="active">Home</a>
  60. </div>
  61. <div class="col-lg-2 col-md-2 col-sm-6 col-xs-12">
  62. <a href="#" onclick="loadPage(this)" data-page="onas">O nas</a>
  63. </div>
  64. <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
  65. <div id="logo">NaszaFirma</div>
  66. </div>
  67. <div class="col-lg-2 col-md-2 col-sm-6 col-xs-12">
  68. <a href="#" onclick="loadPage(this)" data-page="galeria">Galeria</a>
  69. </div>
  70. <div class="col-lg-2 col-md-2 col-sm-6 col-xs-12">
  71. <a href="#" onclick="loadPage(this)" data-page="kontakt">Kontakt</a>
  72. </div>
  73. </div>
  74. -->
  75. <div id="videomenu">
  76. <input id="vol-control" type="range" min="0" max="100" step="1"></input>
  77. <button onclick="videoplay()">Play</button>
  78. <button onclick="videostop()">Stop</button>
  79. <button onclick="videomute()">Mute</button>
  80. <button onclick="videounmute()">Unmute</button>
  81. </div>
  82. <br>
  83.  
  84. <div id="login" align="center">
  85. <input type="login" placeholder="Login" class="login"></input><br>
  86. <input type="password" placeholder="Password" class="password"></input><br>
  87. <button onclick="donothing" class="button">Nie wysyłaj</button>
  88. </div>
  89. <footer self="bottom">
  90. <div id="div_footer">
  91. <img src="http://counter3.01counter.com/private/freecounterstat.php?c=b35a71f70016e3f8a19cbf3ad7343246" alt="free website counter">
  92. <br/>
  93. faggots were here!
  94. </div>
  95. <br/>
  96. &copy; Dejv
  97. </footer>
  98.  
  99.  
  100. </body>
  101. </html>
  102.  
  103.  
  104.  
  105. #coubVideo {
  106. position: fixed;
  107. top: 50%;
  108. left: 50%;
  109. min-width: 100%;
  110. min-height: 100%;
  111. width: auto;
  112. height: auto;
  113. z-index: -100;
  114. -ms-transform: translateX(-50%) translateY(-50%);
  115. -moz-transform: translateX(-50%) translateY(-50%);
  116. -webkit-transform: translateX(-50%) translateY(-50%);
  117. transform: translateX(-50%) translateY(-50%);
  118. background-size: cover;
  119. background: white;
  120. opacity: 0.3;
  121. }
  122. footer {
  123. position: absolute;
  124. bottom: 0;
  125. left: 0;
  126. right: 0;
  127. padding: 10px;
  128. text-align: center;
  129.  
  130. }
  131. #div_footer {
  132. font-family: Rancho;
  133. font-size: 200%;
  134. }
  135.  
  136.  
  137. body {
  138. background: rgb(0,0,0);
  139.  
  140. }
  141. #vidmenu {
  142. align: center;
  143. }
  144. #login {
  145. position: absolute;
  146. text-align: center;
  147. align: center;
  148. }
  149. .login {
  150. border-radius: 10px;
  151.  
  152. }
  153. .password {
  154. border-radius: 10px;
  155.  
  156. }
  157. .button{
  158. border-radius: 10px;
  159.  
  160. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement