Jump to content
Fórum Script Brasil
  • 0

exibir 3 videos mas somente um aparece


Xafam

Question

hey galera ..

estou querendo colocar 3 videos numa pagina HTML , mas somente um dos videos q aparece ..

alguém sabe oque estou fazendo de errado ou esquecendo !?

http://dl.dropbox.com/u/41125458/testandoH...IDEO/video.html

<html>

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <style type="text/css">
          
          
          .video1 {
            position: absolute;
            left: 0px;
            top: 0px;
          }     
            
          .video2 {
            position: absolute;
            left: 480px;
            top: 0px; 
          }     

          .video3 {
            position: absolute;
            left: 880px;
            top: 0px; 
          }    
          
        </style>
        
    </head>
      
 <body>

    <video src="videos/video1.mp4" width="640" height="480" controls="controls" class=video1 />
    <video src="videos/video2.mp4" width="640" height="480" controls="controls" class=video2 />
    <video src="videos/video3.mp4" width="640" height="480" controls="controls" class=video3 />

 </body>

</html>

Edited by Xafam
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

No HTML5 a tag <video> precisa ser fechada, ela não é uma "void element" ou "self closing tag"

então:

<video src="videos/video1.mp4" width="640" height="480" controls="controls" class=video1 ></video>

<video src="videos/video2.mp4" width="640" height="480" controls="controls" class=video2 ></video>

<video src="videos/video3.mp4" width="640" height="480" controls="controls" class=video3 ></video>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...