Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML]Film się nie odtwarza
Matthewcode
post
Post #1





Grupa: Zarejestrowani
Postów: 21
Pomógł: 0
Dołączył: 24.03.2012
Skąd: Bstok

Ostrzeżenie: (0%)
-----


  1. <!-- i am a cat :3 -->
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  3. "http://www.w3.org/TR/html4/loose.dtd">
  4. <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  5. <title>TROLOLOLOLOLOLOLOLOLOLO</title>
  6. <style type="text/css">
  7. body {
  8. background-color: #000;
  9. margin: 3% 0 0 0;
  10. background-color: black;
  11. }
  12. object, embed {
  13. min-width: 681px;
  14. min-height: 511px;
  15. }
  16. </style>
  17. </head>
  18. <div>
  19. <object id="oplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player">
  20. <param name="movie" value="player.swf">
  21. <param name="allowfullscreen" value="true">
  22. <param name="allowscriptaccess" value="always">
  23. <param name="flashvars" value="file=trololo.mp4&autostart=true&fullscreen=true&controlbar=none&repeat=always&volume=100&stretching=uniform">
  24. <embed id="eplayer" type="application/x-shockwave-flash" src="player.swf" allowfullscreen="true"
  25. flashvars="file=trololo.mp4&autostart=true&fullscreen=true&controlbar=none&repeat=always&volume=100&stretching=uniform">
  26. </object>
  27. <script type="text/javascript">
  28. var width = window.innerWidth / 2.15;
  29. var height = width / 1.333;
  30. document.getElementById("oplayer").width = width;
  31. document.getElementById("eplayer").width = width;
  32. document.getElementById("oplayer").height = height;
  33. document.getElementById("eplayer").height = height;
  34. var sc_project=5631598;
  35. var sc_invisible=1;
  36. var sc_partition=60;
  37. var sc_click_stat=1;
  38. var sc_security="b6d5fda7";
  39. </script>
  40. <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
  41. <div class="statcounter">
  42. <img class="statcounter" src="http://c.statcounter.com/5631598/0/b6d5fda7/1/" alt=""></img>
  43. </div>
  44. </center>
  45. </div>
  46. </body>
  47. </html>


Plik "trololo.mp4" mam w folderze z indexem, więc czemu się nie odtwarza?
Pokazuje się czarne tło, a zamiast odtworzonego filmiku jest białe tło.
Po naciśnięciu na białe tło prawym przyciskiem pisze "Film niewczytany...", dlaczego?

refresh
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
Niktoś
post
Post #2





Grupa: Zarejestrowani
Postów: 1 195
Pomógł: 109
Dołączył: 3.11.2011

Ostrzeżenie: (10%)
X----


A spróbuj puścić na tym jakiś plik z rozszerzeniem MPEG, AVI i daj znać czy działa.

Ten post edytował Niktoś 22.05.2012, 15:58:09
Go to the top of the page
+Quote Post
Matthewcode
post
Post #3





Grupa: Zarejestrowani
Postów: 21
Pomógł: 0
Dołączył: 24.03.2012
Skąd: Bstok

Ostrzeżenie: (0%)
-----


Nadal się nie odtwarza.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.08.2025 - 21:38