Jump to content

Playing audio wont work


RubenVO
 Share

Recommended Posts

So i have been struggeling for like 3 hours with this.and googled a forum and found this one.

Iam trying to make a video which autoplays with audio. which isnt posible. so i decided to mute it and make a ad the music seperately.

Now i have a problem that the audio wont play but the video does luckly. This is my code:

Quote

<html>

    <head>
        <title>NCS LoadingScreen</title>
        
        <style type="text/css">
            body {
                margin:0px;
                padding:0px;
                background-color:#000000;
            }
        </style>
        
    </head>
    <body>    <video width= "100%" height="100%" loop autoplay control muted>
        <source src="LoadingScreen.mp4" type="video/mp4"></source>
        </video>
            <audio controls autoplay>
            <source src="Load.ogg" type="audio/ogg">
            </audio>
    </body>
</html>

This is how the folder looks like: 

image.thumb.png.87868ebf0892dafba85aae5932fff06c.png

I have the audio added and downloaded mp3 or OGG files do the same... jsut not play basicaly. How can i resolve this?

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...