Learn HTML audio in 5 minutes! 🔊

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 86

  • @BroCodez
    @BroCodez  Год назад +48

    Document
    Catch Me If I Fall




    Dreaming On



    Losing My Mind

    • @subbotin459
      @subbotin459 11 месяцев назад +4

      what does meta do?

    • @abishekcse
      @abishekcse 11 месяцев назад

      ​@@subbotin459meta is compatiblity tag,it sets the web page standard

    • @KierJoyel
      @KierJoyel 7 месяцев назад +1

      Music vedio
      music video


      Your browser does not support the audio element.

    • @theinvertedworld.
      @theinvertedworld. 26 дней назад

      wise words man.. truly wise words

  • @pandquot
    @pandquot Год назад +23

    I just finished highschool and i started coding today.Thank you!

  • @zedshdox5766
    @zedshdox5766 Год назад +3

    chokran hbibi

  • @Jidaa-l8b
    @Jidaa-l8b 3 месяца назад

    Bro is a lifesaver

  • @AsianCanadianInvestor
    @AsianCanadianInvestor 11 месяцев назад +9

    question - why did you include "



    Document" into the head? It seemed like previous videos didn't include this code.

    • @AdelArbaoui-fb7zo
      @AdelArbaoui-fb7zo 11 месяцев назад

      the same question

    • @kuragehim018
      @kuragehim018 10 месяцев назад

      thats just the basics for an html code.

    • @AsianCanadianInvestor
      @AsianCanadianInvestor 9 месяцев назад +10

      oh I figured it out: if you manually type in: those lines won't show up. If you use "! + tab" to write DOCTYPE then it will show up.

    • @BC_IMMU
      @BC_IMMU 3 месяца назад

      Thanks buddy ​@@AsianCanadianInvestor

  • @himalkhati9061
    @himalkhati9061 2 месяца назад

    Thank you soo much sir. you are an amazing teacher!

  • @rmcellig
    @rmcellig 27 дней назад

    Great video!! I have a weekly radio show and would love to display them on my website. What is the best way to organize my episodes? I have thousands of episodes going back to 1988.
    Thanks!!!!
    Randy

  • @MEKONMESSIN
    @MEKONMESSIN Год назад +1

    Great video -learned it in 5 mins ---now can the titles be placed before or after the play bar?--and can the players be made smaller than the size you have?? -I would like to get 20 songs on a page with some images and would like to know if it's possible??-thanks!!

  • @Grug__
    @Grug__ Год назад +1

    Thanks for the series man

  • @romanap82584
    @romanap82584 8 месяцев назад +1

    Thanks!

  • @ThunderBird-b8f
    @ThunderBird-b8f 4 месяца назад

    love you bro. I am your new subscriber.

  • @JonasRasalan
    @JonasRasalan 25 дней назад

    another tutorial done. let's go to the next!

  • @niibin391
    @niibin391 23 дня назад

    Okay so the files are saved on the computer that the code originated on right? If I wanted to upload files that originated from my computer onto a webpage in html code and upload the html code online so other people can view the page, are they still going to be able to listen to the audio, or are they not going to be able to since the code won't know where to look for the audio files, since they're all on my computer and not theirs?

  • @chilioil7686
    @chilioil7686 10 месяцев назад +1

    what if i only want the volume button to appear on the control? thanks!

  • @FrederikWoellert
    @FrederikWoellert Месяц назад

    Good Video!

  • @Johnn870
    @Johnn870 10 месяцев назад +2

    Thanks teacher 🙏
    But can we make it change the audio playing from one to another automatically?
    If yes, how so
    Thanks 🙏

    • @IsRaphaelGo
      @IsRaphaelGo 2 месяца назад

      you could probably use js to make it function

  • @MEKONMESSIN
    @MEKONMESSIN 11 месяцев назад

    Got the track playing perfect just like yours in Visual Studio --but then I embedded the code to my Web Editor and did a preview--Nothing!---what did I do wrong or miss??-- frustrated in Canada**😠👎

  • @yorlinvarela9683
    @yorlinvarela9683 7 месяцев назад

    The Best.. thankyou

  • @brandonclarke7079
    @brandonclarke7079 3 месяца назад

    I'm following along, but the "autoplay" control isn't working.

  • @KhooniSunday818
    @KhooniSunday818 2 месяца назад

    How to add audios to html with android phone, please reply

  • @kristijanlazarev
    @kristijanlazarev Год назад +1

    nice songs

  • @aligharbi509
    @aligharbi509 Год назад +2

    guys I have a question , when i put my audio files in my code , everything is perfect but when I activate my html page it doesn't show the audio files or it just stays at 0 , can anyone give me a solution ?

    • @pencilaturdesk143
      @pencilaturdesk143 Год назад +1

      Did you run your code in W3C and look for any errors? Also remove any spaces in your audio file, for example: dog barking.mp3 then turn it into dogbarking.mp3. I had that problem with images but i had to remove spaces. Or it could be that your file format isn't compatible with your browser. God bless u :D i hope this solves ur problem

    • @pencilaturdesk143
      @pencilaturdesk143 Год назад

      also i forgot that u need to move your audio files closer to your html folder or you maybe need to rewrite your code

    • @pencilaturdesk143
      @pencilaturdesk143 Год назад

      Also if your audio files close together you dont need to do "/folder name/audio file", only do that command when your audio is not close to your html file. Make sure to add controls in

    • @pencilaturdesk143
      @pencilaturdesk143 Год назад

      only use "/folder name/file name" when audio or video or image is not in the same folder as your html. When your audio or video or image is the same folder as your html just do "file name" also make sure your file name have no spaces

    • @aligharbi509
      @aligharbi509 Год назад +1

      @@pencilaturdesk143 thnx for replying to me , I figured out that my audio files hada width of 0 so that's why XD

  • @exploringthedepths74
    @exploringthedepths74 Месяц назад

    is a source tag needed? it just seems redundant with an src attribute. cant it be put in the opening tag like img and video?

  • @MoeiraJohnson
    @MoeiraJohnson 4 месяца назад

    Do I need the app?

  • @ryan_millard
    @ryan_millard Год назад +1

    I used a wav and mp3 file but still can't get it to work. Could someone help me please? I'm using Microsoft Edge.

    • @pencilaturdesk143
      @pencilaturdesk143 Год назад

      wav and mp3 could not be compatible with your browser or you maybe dont have to file sound or video with the html code folder. Also your line of code could have errors, use W3C to check for any errors that may be in your line of code. God bless u :)

    • @pencilaturdesk143
      @pencilaturdesk143 Год назад

      only use "/folder name/file name" when audio or video or image is not in the same folder as your html. When your audio or video or image is the same folder as your html just do "file name" also make sure your file name has no spaces

  • @khilafahempire
    @khilafahempire 4 месяца назад

    For me my audio pauses in middle of audio. It plays and randomly stops somewhere and when I play it, it starts from the beginning! What's wrong??

  • @SiddhPatel-br7dj
    @SiddhPatel-br7dj 3 месяца назад

    Thanks tomorrow is my exam

  • @dodojef301
    @dodojef301 5 месяцев назад

    can we use labels instead of paragraph here?

  • @vampy407
    @vampy407 11 месяцев назад +1

    when i view it in my website it show's the length of the audio is 0 for some reason i didn't use this video's code but if anyone knows ^

    • @CJ-zu9ut
      @CJ-zu9ut 10 месяцев назад

      same prob here

    • @vortex_studio_the_better
      @vortex_studio_the_better 6 месяцев назад

      Maybe because the name of your file isn't with ".mp3" in the code. Sorry for the mistakes...

  • @Reakzzzs
    @Reakzzzs 8 месяцев назад +4

    And how to autoply the audio when we open the browser?

    • @YASHRSEWDA
      @YASHRSEWDA 3 месяца назад

      , add the autoplay attribute to the audio tag

    • @lautaro4278
      @lautaro4278 Месяц назад

      You can use that, but most chromium browsers don't allow you to play the audio the first time, you have to refresh the page

  • @BhartiSingla-ci3zg
    @BhartiSingla-ci3zg 8 месяцев назад

    What to do if I want music in background?

  • @mehovic
    @mehovic 11 месяцев назад

    Can we add captions to audio file??

  • @Computer-v5e
    @Computer-v5e Месяц назад

    i love you bro

  • @workwithbasit357
    @workwithbasit357 2 месяца назад

    bor is amazing

  • @ummezaiba8745
    @ummezaiba8745 9 месяцев назад

    What if we want to load an audio through link...

  • @coldlycode
    @coldlycode Год назад +1

    Thanks Bro!

  • @GiftMthimunye
    @GiftMthimunye Год назад

    Let’s gooo

  • @techtipsuk
    @techtipsuk 7 месяцев назад

    Can these be styled with css

    • @aidenvw
      @aidenvw 7 месяцев назад

      I had the same question if the controls of the audio could be styled with CSS?

  • @friendsforever715
    @friendsforever715 6 месяцев назад

    why mine doesn't play?

  • @crektech
    @crektech 4 месяца назад

    bro why do we add download Link or button to make others download it

  • @deadlydarkdestructivedragonwar

    u sound kinda like a pilot over the intercom
    no offense
    btw i kinda think its cool

  • @shafiarif4654
    @shafiarif4654 10 месяцев назад

    @BroCodez when I try to play the audio file, my IDM notifies me to download every time I try to play, even though I have downloaded it. What's the issue here? Can you help me on how to solve it?

    • @bartzilla808
      @bartzilla808 5 месяцев назад

      is your audio file in a folder?

  • @motivationda2067
    @motivationda2067 9 месяцев назад

    bro I couldn't get any audio output on live server

  • @shubham-sc
    @shubham-sc Год назад +10

    autoplay is not working , pls help me

    • @danddando
      @danddando Год назад +4

      yo bro did you find a solution for it?

    • @shubham-sc
      @shubham-sc Год назад

      @@danddando yeah I got the concept now

    • @klein4459
      @klein4459 Год назад +8

      The browser does not allow this because it is annoying for the user
      It only works when you make it mute

    • @pencilaturdesk143
      @pencilaturdesk143 Год назад +3

      did u put it in right? make sure to use W3C it finds errors. Also look for lines of code that are not closed with these signs: also check if u spelled autoplay right or autoplay could be connecting to a different line of code, make sure to close that. God bless u :)

    • @pencilaturdesk143
      @pencilaturdesk143 Год назад +4

      And i think i found a solution im not sure but, i did
      only use "/folder name/file name" when audio or video or image is not in the same folder as your html. When your audio or video or image is the same folder as your html just do "file name" also make sure your file name has no spaces

  • @hart_heartzy
    @hart_heartzy 8 месяцев назад +2

    autoplay wont work why>?

    • @Muhammed_Atif
      @Muhammed_Atif 3 месяца назад

      yeh bro, autoplay doesnt work for me too, really dont know why, i tried using Chat GPT, changed browser and browser settings and it simply doesnt seem to work, everything else works though.

    • @thekunaikage8081
      @thekunaikage8081 Месяц назад

      @@Muhammed_Atifdid you find a solution?

  • @JoashWilliams
    @JoashWilliams 11 месяцев назад

    Bro my autoplay is not working

  • @Gametimewithsurya
    @Gametimewithsurya 4 месяца назад

    BRO IS BRO

  • @JuxGD
    @JuxGD Год назад +2

    brocode

  • @raykobayashi8093
    @raykobayashi8093 Месяц назад

    Random Comment

  • @ramanijarrett6855
    @ramanijarrett6855 Год назад

    !

  • @JustinUltamit
    @JustinUltamit 5 месяцев назад

    random comment

  • @Otakuuuuuuuuuuuuuuuu5172
    @Otakuuuuuuuuuuuuuuuu5172 10 месяцев назад

    bro how to download audio without corrupt?

  • @TorabekRaufov-p8x
    @TorabekRaufov-p8x Месяц назад

    random comment