How to Add Audio in HTML using Notepad text Editor

  Рет қаралды 143,479

ShuDoCode

ShuDoCode

Күн бұрын

Пікірлер: 336
@shudocode
@shudocode 4 жыл бұрын
Please NOTE: If you are inserting Audio from another Folder/Directory Then please add file:/// Before your File's Path. Like This: And i am sorry that i forget to mention this in the Video.
@shudocode
@shudocode 4 жыл бұрын
Please share your Code here : programminghead.com/help/ I will check your Code and Inform about the Problem through your Given Email Address. Thanks
@vembarasane7348
@vembarasane7348 3 жыл бұрын
It's ok.. Thanks 🙂
@r301pirate2
@r301pirate2 2 жыл бұрын
This man by far has been the best help I’ve had in this field! He clearly loves what he does and took the time out his day to break everything down step by step
@shudocode
@shudocode 2 жыл бұрын
Wow thanks for your kind words
@r301pirate2
@r301pirate2 2 жыл бұрын
@@shudocode No problem thank you for the help!
@VictorVictory-te2ij
@VictorVictory-te2ij 13 күн бұрын
So very easy to follow! Tqsvm audio expert! God bless you! 1st time I came across /// -- with deepest gratitude Sir! More training videos please. Do keep up the great work!
@shudocode
@shudocode 13 күн бұрын
thanks you so much for these kind words i can't even explain how much these words means to me all i can say is thank you
@imnoturgod3808
@imnoturgod3808 2 жыл бұрын
you know, you really helped me with my html computer assignment, without you, i might have failed that subject, i was once lost, but now iam found, thank you for this.
@shudocode
@shudocode 2 жыл бұрын
Oh thanks for saying that. Comments like these motivates me a lot.. Thanks again and BTW Thanks for watching
@sKM143
@sKM143 5 жыл бұрын
Thanks for This "How to Insert Audio in HTML using NotePad text Editor" Video. It helped me A lot.
@shudocode
@shudocode 5 жыл бұрын
we are glad to hear that.
@MOHAMMAD_JUNAID_KHAN786
@MOHAMMAD_JUNAID_KHAN786 3 жыл бұрын
yeah me tooooooo
@nrx9040
@nrx9040 4 жыл бұрын
this video helped me soooo much, i kept getting inserting audios in html5 and no notepad, so for this i thank you sir
@shudocode
@shudocode 4 жыл бұрын
NΘϊr νφx thank you for watching.
@urmomsayshitou
@urmomsayshitou 8 ай бұрын
Thank you soooo muchhhh because of you I'll pass my exam!!!! I'm so grateful to you now!!!
@shudocode
@shudocode 8 ай бұрын
Thank you for your kind words! I'm honored to have been a part of your exam success.
@johntaylor7922
@johntaylor7922 4 жыл бұрын
Perfect! Saved me hours of work, thanks a million...
@shudocode
@shudocode 4 жыл бұрын
thanks for watching
@seorangmusafirjalanan5690
@seorangmusafirjalanan5690 2 ай бұрын
THANK YOU SIRRRRRR. YOU MADE MY DAYYYYY🎉🎉🎉🎉🎉
@shudocode
@shudocode 2 ай бұрын
and your comment made mine thanks for watching
@jairussano7475
@jairussano7475 3 жыл бұрын
THIS WORKED FOR ME !!! tysm hehehehe i have an html project for school
@shudocode
@shudocode 3 жыл бұрын
happy to know that
@MOHAMMAD_JUNAID_KHAN786
@MOHAMMAD_JUNAID_KHAN786 3 жыл бұрын
thanks it helped me a lot
@shudocode
@shudocode 3 жыл бұрын
Thanks for Watching
@kungagyalmo949
@kungagyalmo949 3 жыл бұрын
Thanks a lot U make my day
@shudocode
@shudocode 3 жыл бұрын
Glad to hear that BTW thanks for Watching
@FoXenthusiast42
@FoXenthusiast42 4 жыл бұрын
Controls are there but doesn’t allow me to play it :(
@shudocode
@shudocode 4 жыл бұрын
that’s mean your browser isn’t able to detect your audio file Plese add file:/// before your Audio file's path Like : and if your Code still don't work : please provide your HTML code at this Webpage programminghead.com/help/ we will check your code and try to resolve your problem
@juhiee7315
@juhiee7315 3 жыл бұрын
Thanks sir so much.... 👍👍👍😀😀🙂🙂
@shudocode
@shudocode 3 жыл бұрын
Thanks for watching
@nathantroybontilao1941
@nathantroybontilao1941 2 жыл бұрын
This really helped me in my class today thank you sir kumar 💜
@shudocode
@shudocode 2 жыл бұрын
Thanks for Watching Sir Bontilao
@falaksayyed6965
@falaksayyed6965 4 жыл бұрын
thank you very much 😊
@shudocode
@shudocode 4 жыл бұрын
Thank you for Watching
@ayushthapliyal8768
@ayushthapliyal8768 3 жыл бұрын
Thanks for the information
@shudocode
@shudocode 3 жыл бұрын
thanks for watching
@avishpamukherjee1908
@avishpamukherjee1908 3 жыл бұрын
Thank you....thank you.... thank you....a lot ....your video kinda saved my life
@shudocode
@shudocode 3 жыл бұрын
Glad it helped! and thanks for this Comment. People like you motivates me. thanks
@cvgamers7775
@cvgamers7775 3 жыл бұрын
Thank you so much bro now i am making a online songs download Websight thank u a lot
@shudocode
@shudocode 3 жыл бұрын
Most welcome 😊 but always use those songs that you have permission to Upload inside your Website, Otherwise you are doing online music piracy which is not a good thing and illegal i hope you will do something great which will help you in the future thanks for watching have a Great time
@cvgamers7775
@cvgamers7775 3 жыл бұрын
@@shudocode bro for me i am not getting download button in it trying hard from morning . pls make a video on it bro
@shudocode
@shudocode 3 жыл бұрын
i can’t make video because i am working on other projects but if u want my help then i can give you some personal online lectures using google meet where you can talk and ask questions etc
@jennyofoldstones8879
@jennyofoldstones8879 4 жыл бұрын
This helped me! Thank you so muchhhhh!!
@shudocode
@shudocode 4 жыл бұрын
Jenny of Oldstones thanks for watching
@emily95115
@emily95115 4 жыл бұрын
Thanks very much! Your instructions are very clear!!! By the way, could you please teach me how to make the audio plays once only? I’m recently setting up a test, the participants are only allowed to play each audio once! If you could help I’d be much appreciated!
@shudocode
@shudocode 4 жыл бұрын
If you Want to Play a Audio File Once Then you just need to Remove the "Loop" Attribute from the Starting tag (If there is Any?). E.G. Before: After: If this Doesn't work then please Provide more Information (Like How do you want your Users to play The Audio by Clicking?? What kind of audio should play ETC ). So i can help you Better.
@emily95115
@emily95115 4 жыл бұрын
Shubham Kumar Thanks a lot! I’ll give it a try!
@emily95115
@emily95115 4 жыл бұрын
@@shudocode There's no 'loop' originally. Basically in our test, the participants needs to listen to 5 sentences of different accents of English and rate how they feel about them. So they can only listen to each audio for once, they need to press on the 'play' button but it can only play once.
@shudocode
@shudocode 4 жыл бұрын
Now i Get Your "TEST" Problem. I am Working on it. You will Soon Get a Link where you Can Copy The Whole CODE with Explanations and Also can Test* the Example. Wait for a While i am Working on it... :)
@emily95115
@emily95115 4 жыл бұрын
Shubham Kumar That’s very nice of you!!!’ Thanks very much!!!!
@stanleymufuka1356
@stanleymufuka1356 4 жыл бұрын
its so good thank you i am sure i will not make any erros
@shudocode
@shudocode 4 жыл бұрын
Stanley Mufuka thanks for watching
@rezervarezerva6222
@rezervarezerva6222 3 жыл бұрын
You are the best, you explained every possibility out there and you helped me a lot! Thank you very much!
@shudocode
@shudocode 3 жыл бұрын
thanks for watching and for leaving such a great comment
@cuteanimals-dz7ti
@cuteanimals-dz7ti 4 жыл бұрын
Thanks dada for share that information
@shudocode
@shudocode 4 жыл бұрын
Vishal Suryawanshi thank you for watching
@anshagrawal8141
@anshagrawal8141 3 жыл бұрын
Worked___ thanks broo....
@shudocode
@shudocode 3 жыл бұрын
thanks for watching
@uniqueemperor4306
@uniqueemperor4306 3 жыл бұрын
as there anyway we can let audio play in background and user dosent have controll
@shudocode
@shudocode 3 жыл бұрын
yes.. by removing “controls” attribute you can remove or hide those controls button and by using “autoplay” attribute you can play that audio in background automatically. (But most browsers nowadays don’t allow audio to play in background without user interaction. so you might face some problems while doing that
@duyenluong1774
@duyenluong1774 8 ай бұрын
It's work. thanks so muchhh
@shudocode
@shudocode 8 ай бұрын
Happy to hear that. BTW Thanks for watching
@sanjaysahu9866
@sanjaysahu9866 4 жыл бұрын
Thank you very much
@shudocode
@shudocode 4 жыл бұрын
Sanjay Sahu thanks for watching sir
@kelsey5504
@kelsey5504 2 жыл бұрын
THANK YOU SO MUCH
@shudocode
@shudocode 2 жыл бұрын
Thanks for WATCHING :)
@elahdesigned
@elahdesigned 3 жыл бұрын
*Thank you so much about this!*
@shudocode
@shudocode 3 жыл бұрын
Thanks for watching
@PawanPawar1
@PawanPawar1 2 жыл бұрын
Thank you bro!!
@shudocode
@shudocode 2 жыл бұрын
Thanks for Watching
@Garimaaazzz-x2w
@Garimaaazzz-x2w 8 күн бұрын
best tutorial...tysm
@shudocode
@shudocode 8 күн бұрын
best comment.... TYSM for watching
@heisenbergx1181
@heisenbergx1181 Жыл бұрын
tysm broo u literraly resute a huge problem that i had
@shudocode
@shudocode Жыл бұрын
i am glad that i could help. Thanks for watching
@zainabansari573
@zainabansari573 3 жыл бұрын
Thank youu sir 😃
@shudocode
@shudocode 3 жыл бұрын
Thanks for Watching
@TheVoice00183
@TheVoice00183 2 жыл бұрын
Tnq very much bro .from srilanka
@shudocode
@shudocode 2 жыл бұрын
Thanks for watching
@virusehwag9562
@virusehwag9562 4 жыл бұрын
Very nice 👌👌👌👌
@shudocode
@shudocode 4 жыл бұрын
Viru Sehwag Thanks for watching
@keerthisatheesh9888
@keerthisatheesh9888 4 жыл бұрын
It hlpd me in my board practicals Tnx brook u r grt
@keerthisatheesh9888
@keerthisatheesh9888 4 жыл бұрын
I mnt broooo
@shudocode
@shudocode 4 жыл бұрын
@@keerthisatheesh9888 I am Glad to Hear That and Thanks for Watching.
@Shubhamsynk
@Shubhamsynk 4 жыл бұрын
Good sir
@shudocode
@shudocode 4 жыл бұрын
Thanks For watching
@harishankaryadav6496
@harishankaryadav6496 4 жыл бұрын
Thanks a lot for this video it's really help me to use audio tag
@shudocode
@shudocode 4 жыл бұрын
I am glad to hear that. Thanks for watching
@pavankumarkj255
@pavankumarkj255 3 жыл бұрын
i'm subbing All the best
@shudocode
@shudocode 3 жыл бұрын
Thanks for this
@ayushchaudhary2200
@ayushchaudhary2200 2 жыл бұрын
Wait, do we need a end tag for the source tag also?? I mean i am using spck editor(in my phone) and if the end tag is needed then the app automatically gives an end tag but in the source tag it never happens
@shudocode
@shudocode 2 жыл бұрын
No You don't need to write closing/end tag for source Tag (It was my Bad/mistake THANKS for telling me this) This is the Syntax
@ayushchaudhary2200
@ayushchaudhary2200 2 жыл бұрын
Thanks for replying
@shudocode
@shudocode 2 жыл бұрын
@@ayushchaudhary2200 thanks for pointing out my mistake
@emajnikhil6535
@emajnikhil6535 2 жыл бұрын
Thanks yaar i learned now 😇
@shudocode
@shudocode 2 жыл бұрын
Thanks for watching Yaar.. have a good time :)
@richardw2370
@richardw2370 2 жыл бұрын
Hi Shubham, thank you very much this excellent tutorial. I got the html audio to work just fine. I've now subscribed to your channel. I have two questions if you don't mind me asking. Firstly, I had to use the full path from the security tab in properties. How do I enter the html for mp3, wav and ogg using the full path? Secondly, I want to use the finished audio file on the website I'm building. To do this the web builder says that I need to copy and paste the html into the site. How would I do this? Many thanks
@shudocode
@shudocode 2 жыл бұрын
Hi thanks for Watching, for the sub and for this Comment so if you want to use Audio files with different formats (to support all browsers) then use can use this Syntax Sorry - Your browser does not support the audio element. and the Second things HTML audio in WebBuilders in webBuilder, the thing is when you include or give your audio file in your HTML file the browser will look for that Audio file in the Local Storage like in "C:/user/Desktop/song.mp3" but when you are working on WebBuilder or on Online Servers thenyour Audio file must be in the Server (you can't use there your local computers path) to fix that you can upload your Audio file in your WebBuilders server get the File path from there and you will be use that Path and include your audio file lets say your WebBuilder don't allow you to upload or Gives you the Audio file's path then you can use Other Audio hosting Servers and use the Audio files from there for testing you can use my Audio file's path "programminghead.com/audio/audio.mp3" CODE:
@richardw2370
@richardw2370 2 жыл бұрын
@@shudocode Thank you indeed for your help, very much appreciated
@shudocode
@shudocode 2 жыл бұрын
My pleasure
@HiyaThaker
@HiyaThaker 3 жыл бұрын
it worked thank you so much sir!!!
@shudocode
@shudocode 3 жыл бұрын
Thank you so much ma'am for watching
@pavithraraji7175
@pavithraraji7175 3 жыл бұрын
Aww bro this is great thank you 🤩🤩
@shudocode
@shudocode 3 жыл бұрын
Thanks For watching :)
@Igniteyouth2000
@Igniteyouth2000 5 жыл бұрын
Bhi bahoot hard, sahi ja raha hai, laga Rai
@shudocode
@shudocode 5 жыл бұрын
Micro gamer thanks bhai
@pallavisingh754
@pallavisingh754 4 жыл бұрын
Thank you
@shudocode
@shudocode 4 жыл бұрын
Pallavi Singh thanks for watching
@harveerjassi1054
@harveerjassi1054 4 жыл бұрын
love you bro
@shudocode
@shudocode 4 жыл бұрын
jassi Jassi thank you bro
@nursyazwanibintimohdyusoff2071
@nursyazwanibintimohdyusoff2071 2 жыл бұрын
Hi! Your video helps me a lot. Thank you so much!! :)
@shudocode
@shudocode 2 жыл бұрын
thanks for watching
@haneenkhaled5285
@haneenkhaled5285 4 жыл бұрын
Hello, really loved howy ou explained this so easily! But I did the same things you've said still my audio doesn't open, and I have both my html file and the audio in the same location, I don't know what I'm doing wrong.
@shudocode
@shudocode 4 жыл бұрын
Haneen Khaled please submit your code here programminghead.com/help/ and i will check your code and try to fix your problem
@haneenkhaled5285
@haneenkhaled5285 4 жыл бұрын
@@shudocode Thaank youu so muchh!! you're so kind❤
@shudocode
@shudocode 4 жыл бұрын
hi. Your HTML seems right except you have miss spelled SRC in 3rd Source Tag, Please correct that and you suppose to write audio type in capital like type=“audio/MPEG” so do that but your code will work anyways i think there is something wrong with the audio path to identify the real problem press ctrl+i on your browser (or right click and select “inspect elements” options) and under the “Console” tab you will see an error.
@shudocode
@shudocode 4 жыл бұрын
check your email. i have sent you a new HTML code. Copy that code and paste that Code inside you “html” file run it and tell me which audio elements working (there are 3 audio elements Default,file and online audio)
@haneenkhaled5285
@haneenkhaled5285 4 жыл бұрын
@@shudocode thank you so so much truly for helping me out, but I've checked nothing have been sent my email is khaneen13@gmail.com maybe I've written it wrong at first
@satenderchauhan9831
@satenderchauhan9831 4 жыл бұрын
THANKS BRO
@shudocode
@shudocode 4 жыл бұрын
thank you bro for watching
@sravanthikunchapu9390
@sravanthikunchapu9390 4 жыл бұрын
Your really did an awesome work it's worked for me at first attempt superr and also impressed for your attitude keep working on it.. best of luck
@shudocode
@shudocode 4 жыл бұрын
Comments like this Inspires me EveryDay. You can't even think how Happy your Comment made me. Thank you so much for this Lovely Comment and Thanks for Watching :)
@sravanthikunchapu9390
@sravanthikunchapu9390 4 жыл бұрын
Sir is it possible to make a list with single control if possible make such code send kindly send me pls .. it will help me more
@shudocode
@shudocode 4 жыл бұрын
sravanthi kunchapu can you please give me more details about what exactly you are looking for?
@sravanthikunchapu9390
@sravanthikunchapu9390 4 жыл бұрын
Ya sir thanks for the reply I need a single control to be displayed Down it should display the song list Like. 1.songs 2.song2 ... By clicking it should play the respective song
@shudocode
@shudocode 4 жыл бұрын
programminghead.com/CODE/?id=audio-test-and-vote Check this Link and Tell me what else do you need?
@joanajohn1108
@joanajohn1108 5 жыл бұрын
thanks
@shudocode
@shudocode 5 жыл бұрын
joana benjamin thanks for Watching.
@user-uo6tv9jo8p
@user-uo6tv9jo8p 3 жыл бұрын
Helped me a lot Thank u so much !!
@shudocode
@shudocode 3 жыл бұрын
Glad it helped! BTW thanks for Watching
@ramprvesh9319
@ramprvesh9319 4 жыл бұрын
Sir, I don't think that we need to close audio tag. Isn't it? Please reply
@shudocode
@shudocode 4 жыл бұрын
Yes sir You are right.. if we are inserting Audio files Once then this is not necessary to close the Audio tag. but if we are inserting Audio files multiple time then 1 un closed Tag can create a Huge Bug/error. Thats why i am Strictly following the Syntax. Thanks for watching
@rashidasanaa7899
@rashidasanaa7899 4 жыл бұрын
this video was so damnnn helpful!!!!! thank you so much!!!!!
@shudocode
@shudocode 4 жыл бұрын
Thank you so much for watching and for this Very kind Comment.
@divuslife
@divuslife 4 жыл бұрын
Tx sir
@shudocode
@shudocode 4 жыл бұрын
thanks for watching Ma’am
@greenwoodhoran8868
@greenwoodhoran8868 4 жыл бұрын
Thank you thank you thank you!
@shudocode
@shudocode 4 жыл бұрын
Chelsy Greenwood Horan thanks thanks thanks for watching :p
@AliBabaBanana
@AliBabaBanana 4 жыл бұрын
audio is not playing automatically :(
@shudocode
@shudocode 4 жыл бұрын
Ali BaBa this is because browsers like google chrome don’t allow users to play audio file automatically because of some security reasons.
@AliBabaBanana
@AliBabaBanana 4 жыл бұрын
Shubham Kumar I see thank you so much for answering I really appreciated
@shudocode
@shudocode 4 жыл бұрын
Ali BaBa thanks for watching this video
@craftyarsh4505
@craftyarsh4505 2 жыл бұрын
Amazing Brother You Are Doing Great Keep It Up 💖💐👍🏻
@shudocode
@shudocode 2 жыл бұрын
Thanks for saying that BTW Thanks for watching
@craftyarsh4505
@craftyarsh4505 2 жыл бұрын
@@shudocode You Are Most Welcome Bro Ur Way Of Teaching Is Too Good 💐👍🏻❤️
@westonnemitz1093
@westonnemitz1093 4 жыл бұрын
OMG THANK YOU THANK YOU THANK YOU
@shudocode
@shudocode 4 жыл бұрын
thank you for watching thank you for watching thank you for watching
@blackforest1132
@blackforest1132 3 жыл бұрын
Thanks this helped!!!
@shudocode
@shudocode 3 жыл бұрын
i am glad to hear that. BTW Thanks for Watching
@sideswipe5940
@sideswipe5940 2 жыл бұрын
Hi thank you it worked, but I have a question, does this work on other computers?? I assume not?
@shudocode
@shudocode 2 жыл бұрын
If you are inserting audio files from your Local storage then this won’t work on other computer.. to make this work on others computer then you have to send Both the Audio file and the HTML file. Or you can use Audio file from Web servers For example
@sideswipe5940
@sideswipe5940 2 жыл бұрын
@@shudocode oh thank you very much it helped me.
@shudocode
@shudocode 2 жыл бұрын
@@sideswipe5940 i am GLAD. BTW thanks for Watching
@rekhachauhan8553
@rekhachauhan8553 2 жыл бұрын
Thanks a lot bro 😊
@shudocode
@shudocode 2 жыл бұрын
Thanks for watching sis :)
@user-fw5kl9xh7o
@user-fw5kl9xh7o 2 жыл бұрын
thank you so much i love you
@shudocode
@shudocode 2 жыл бұрын
You are welcome.. and I love u too LOL (sorry if I offended you)
@josephhylton5334
@josephhylton5334 3 жыл бұрын
Not sure why this has happened now, but no audio html code seem to be working on chrome anymore. No matter how many ways I code it
@shudocode
@shudocode 3 жыл бұрын
Watch this video kzbin.info/www/bejne/gIioYquwg5qalcU This might help
@Tricksterhub08
@Tricksterhub08 4 жыл бұрын
Thank U so much bro😍
@shudocode
@shudocode 4 жыл бұрын
Muhammad Faiq thank U so much for Watching
@fakename2956
@fakename2956 3 жыл бұрын
Hey can you help me out? I need to allow users to upload their own audio and then play it, I assume I need to make it so they can change the source but how?
@shudocode
@shudocode 3 жыл бұрын
for that you need to use javascript using JS you can trigger a function whenever user upload there song and using that JS function you can replace audio elements sources to User uploaded track/song keep in mind this won’t upload that song into your server thsis will only choose that selected file from users computer and add it to your HTML file
@Datchi-dx2le
@Datchi-dx2le 2 жыл бұрын
Bro very very tanx bro😊😊😊
@shudocode
@shudocode 2 жыл бұрын
Thanks for watching 😊
@txtmoaot5
@txtmoaot5 3 жыл бұрын
Thank you so much!!! 💯
@shudocode
@shudocode 3 жыл бұрын
Thanks for Watching
@r301pirate2
@r301pirate2 2 жыл бұрын
Hello I’m going step by step and my only issue is that I have the control bar but the audio won’t play. Are you able to help with this?
@shudocode
@shudocode 2 жыл бұрын
Sure I can help you.. first question is your HTML file and Audio file present at the same location? If you answer is no. Then please move you audio file to the same location where your HTML file is. Or u can use full audio file path . To get the full audio file path Right click on your audio file Select properties from there Under the security tab you can copy the full audio file’s path If still not working them I am free for google meeting. I can suggest changes over google meet
@r301pirate2
@r301pirate2 2 жыл бұрын
@@shudocode yes the files are in the same folder
@shudocode
@shudocode 2 жыл бұрын
@@r301pirate2 are you free for google meet right now?
@r301pirate2
@r301pirate2 2 жыл бұрын
@@shudocode yes I am so I have to download anything for it?
@shudocode
@shudocode 2 жыл бұрын
no Just join this meeting using your web-browser click this link link expired LOL
@shivagayakwad6924
@shivagayakwad6924 2 жыл бұрын
Hi, please tell me html code to play audio for particular time like 2 time repeatation, 3 time repeatation or audio should play for 2 minutes or 4 minutes
@shudocode
@shudocode 2 жыл бұрын
Check this LINK : programminghead.com/CODE/play2pauseAfter.php here you have 2 button 1 for playing your Audio file Twice and 1 for Playing your Audio for 2Secounds this might HELP :)
@shivagayakwad6924
@shivagayakwad6924 2 жыл бұрын
@@shudocode thanks for reply, can we have a button like there we can set repeatation like how many time we want to repeat it so if any one touch it and type 5 so it should repeat 5 time and same for minutes if any type 4 so it should play for 4 minutes
@shudocode
@shudocode 2 жыл бұрын
For that just pass User input in JS variable and use Variables to play audio etc
@omarmissaoui2585
@omarmissaoui2585 2 жыл бұрын
but when i try to send the html to a friend it dont send the audio just the code and the web show the controls with 00:00/00:00
@shudocode
@shudocode 2 жыл бұрын
This is because that audio file is Present at your local computer So when you are sharing HTML file make sure to share audio file with it Even after that make sure audio and html file is Present at the same location Or you have host/upload audio file in the server And use audio files url these For example
@melvenbarlongo7742
@melvenbarlongo7742 2 жыл бұрын
Thank you so much! T_T
@shudocode
@shudocode 2 жыл бұрын
thanks for watching
@traducoesdemusicascomvozse5214
@traducoesdemusicascomvozse5214 4 жыл бұрын
Is streaming Shoutcast aac supported today? Good tips.
@shudocode
@shudocode 4 жыл бұрын
Traduções PtBr Internacionais Séries Filmes Novelas Most AAC files with finite length are wrapped in an MPEG-4 container (. mp4, . m4a), which is supported natively in Internet Explorer, Safari, and Chrome, and supported by the OS in Firefox and Opera. BTW thanks for Watching
@noobtwin9928
@noobtwin9928 3 жыл бұрын
Tommarow is last day for submitting. My it practical pls help me sir❤️
@shudocode
@shudocode 3 жыл бұрын
yes tell me your problem
@noobtwin9928
@noobtwin9928 3 жыл бұрын
@@shudocode sir write html code to insert audio clip named audio1.mp3 in the webpage
@noobtwin9928
@noobtwin9928 3 жыл бұрын
Pls tell me
@shudocode
@shudocode 3 жыл бұрын
Ok so if your audio1.mp3 and .html file both are Present at Same Folder/Location then use this CODE Audio in HTML if your audio.mp3 file is present at diffrent location then get the Full path or use this MP# from online SRC/Source Audio in HTML
@noobtwin9928
@noobtwin9928 3 жыл бұрын
@@shudocode tnku sir❤️❤️
@generaitnet
@generaitnet 3 жыл бұрын
Hi Shubham. I made an online app which uses audio from youtube as the audio. Let me know if you want to review it
@shudocode
@shudocode 3 жыл бұрын
yes i want to review it
@ashpjangde
@ashpjangde 4 жыл бұрын
Thanks a lot, man!!
@shudocode
@shudocode 4 жыл бұрын
Ashish Prakash thanks for watching
@anjupurohit6330
@anjupurohit6330 4 жыл бұрын
Controls are there but they are not working...seems like the page is hanged...please reply sir what to do....I have tried using Audio src=file///
@shudocode
@shudocode 4 жыл бұрын
please corrct your File's Source. src=file///C:/user/audio.mp3 is WRONG src="file:///C:/user/audio.mp3" is Correct dont forget to add double quotes " " after src=" " and a colon : after file:/// if still not working Please use this source
@theanhang7337
@theanhang7337 11 ай бұрын
tysm:DDDDDD
@shudocode
@shudocode 11 ай бұрын
Thanks for watching :D
@anderso.madsen2976
@anderso.madsen2976 2 жыл бұрын
is it possible to have two audio controls in one html
@shudocode
@shudocode 2 жыл бұрын
Yes it is Possible You just need to use Two *Audio Tags* with *controls* Attribute
@A_fan_from_a_small_village
@A_fan_from_a_small_village 3 жыл бұрын
hello sir this codes work but I am trying add more audio with audio name while I put these code it work but problem is it play both audio can't we make one pause on while another one is playing.
@shudocode
@shudocode 3 жыл бұрын
if you want to play multiple audio onebyone then you need to create multiple pages for that. and create next and previous button that will play next song/redirect to another song on a click(if you want to do it using HTML only) if you know about JS then you can do everything in a single page where you can use .play .pause .click functions that can allow you to change or switch between multiple songs on .pause state or you can change the song without even refreshing the webpage
@A_fan_from_a_small_village
@A_fan_from_a_small_village 3 жыл бұрын
Sir I request you to give me some more information on html I made sample of some of my own design Where I use maroquee behavior many others I want to Know about css and how it works Could you please explain me next video
@shudocode
@shudocode 3 жыл бұрын
actually i can explain it rightnow using zoom or google meet
@A_fan_from_a_small_village
@A_fan_from_a_small_village 3 жыл бұрын
Are you free for tomarrow at day time
@shudocode
@shudocode 3 жыл бұрын
no
@lovo7065
@lovo7065 4 жыл бұрын
what is the code for it to auto-play and loop?
@shudocode
@shudocode 4 жыл бұрын
To Autoplay Your Audio file You need to Add "autoplay" and "loop" attribute inside the Audio tag's Starting Tag Anywhere after the Tag Name. E.G. But Some Browser Like Chrome Does not Allow or Support the Audio Autoplay Feature, Then we have to use a Little trick to autoplay Audio file in Every Browser. Trick Link: programminghead.com/CODE/?id=autoplay-audio-in-html BTW Thanks for Watching And Commenting on this Video.
@Electro-qn1mc
@Electro-qn1mc 4 жыл бұрын
I get confused in the part where you paste the full audio file’s path and then it disappears, did you delete it or?
@shudocode
@shudocode 4 жыл бұрын
yes sir. at 3:12 i have used the Ctrl+Z shortcut to get my Previous ShortPath. Because my Audio and HTML file is present at the same location. Thats why we don’t have to give the full Path there. thanks for watching i hope this reply helps
@Electro-qn1mc
@Electro-qn1mc 4 жыл бұрын
Thank you sir for the reply and it really helps but it didnt solve the problem in my case because the button appears but when i click it nothing happens i have tried the file:/// btw
@shudocode
@shudocode 4 жыл бұрын
Pixel Juice in in your browser right click on Blank Space and Select “Inspect” or “Inspect element” Option and you will see all the errors inside the console tab please tell/reply me the errors that you are facing so i can fix the problem easily
@Electro-qn1mc
@Electro-qn1mc 4 жыл бұрын
Thank you sir the error is: “ Failed to load resource: net:: ERR_FILE_NOT_FOUND”
@shudocode
@shudocode 4 жыл бұрын
ok so the audio file’s path is the problem so you need to right click on your audio file select Properties from there and under the Security tab you need to copy the full path and paste that full path inside your HTML AUDIO tags SRC attribute example: src=“c:/user/Desktop/audio.mp3”
@nikobellic5232
@nikobellic5232 Жыл бұрын
thks
@shudocode
@shudocode Жыл бұрын
Thanks for Watching
@spagetti2514
@spagetti2514 4 жыл бұрын
hello great video , i have written the code and it worked successfully but i am stuck i have no clue on how to align this in the middle of my page and stay there when i shrink the page down and englage it ...please help me bro !!! please nothing has worked for me
@shudocode
@shudocode 4 жыл бұрын
for that you have to use CSS's margin:auto; properties or you can use CSS Flex there are so many options
@spagetti2514
@spagetti2514 4 жыл бұрын
@@shudocode hey thank u for the response , i have done this as such text-align: center; padding-top: 100px; padding-right: auto; padding-bottom: 100px; padding-left: auto; margin: auto; i cannot get them to bunch together vertically mind you though i am failry new to this
@shudocode
@shudocode 4 жыл бұрын
@@spagetti2514 Hi i think flex box will work for you.. use FLEX box or you can Submit your CODE and i will do that for you Link to submit the CODE: programminghead.com/help/
@spagetti2514
@spagetti2514 4 жыл бұрын
@@shudocode hello sir i just emailed you !! please and thank you brother let me know what i have done wrong
@shudocode
@shudocode 4 жыл бұрын
Dan Barb can you give me an example like how do you want to align those audio controls?
@arishkhanpathan6958
@arishkhanpathan6958 4 жыл бұрын
How can I add audio in an animation I made which will be played automatically when I run the animation
@shudocode
@shudocode 4 жыл бұрын
Arish Khan i recommend you to watch this video kzbin.info/www/bejne/Z5fQl6p6h7Jof6s i hope this video will fix your problem
@arishkhanpathan6958
@arishkhanpathan6958 4 жыл бұрын
@@shudocode thank you...
@looneycrow7978
@looneycrow7978 3 жыл бұрын
How to play without control panel.. background game music
@shudocode
@shudocode 3 жыл бұрын
To hide the Audio control button Just remove the "Controls" attribute from the audio tag But if u hide tye Controls then you can't plqy the audio To fix that add this "autoplay" attribute Which will play audio on page Load But most browsers don't allow autoplay and stuff due to some security reasons So this is not the best solution
@kishorahir1436
@kishorahir1436 4 жыл бұрын
That was very helpful👍👌
@shudocode
@shudocode 4 жыл бұрын
Kishor Ahir Thanks for Watching
@Shubham-000
@Shubham-000 2 жыл бұрын
thanks a lot
@shudocode
@shudocode 2 жыл бұрын
You are most welcome BTW thanks for Watching Good DAY :)
@Shubham-000
@Shubham-000 2 жыл бұрын
@@shudocode thanks bro
@kimdoahlipa1533
@kimdoahlipa1533 2 жыл бұрын
I did exactly what is said in the video, but it didn't work, I don't know why
@shudocode
@shudocode 2 жыл бұрын
submit your code here programminghead.com/help/ and i will check your code and let you know where is the issue
@ssureshkumar9565
@ssureshkumar9565 4 жыл бұрын
Can I add audio in a button?
@shudocode
@shudocode 4 жыл бұрын
s suresh kumar you can’t add an audio inside a HTML Button. But you can play and pause your audio by using HTML buttons by using javascript’s .play and .pause events.
@ssureshkumar9565
@ssureshkumar9565 4 жыл бұрын
Thank you. I love the way you explained. It was clearly nice.
@shudocode
@shudocode 4 жыл бұрын
s suresh kumar thanks for watching
@akaaLofficial
@akaaLofficial 3 жыл бұрын
brother maine source tag close nhi kia phir bhi song chal gya is this possible ye vala
@shudocode
@shudocode 3 жыл бұрын
Yes it is. agr ap Audio ya Source tags close na kre fir bhi Song play hota hai But Keep in mind apke browser ko pta nhi kha se Start hai Source tag so i can create a huge problem jab ap multiple Audio files ke sath Kam kr rhe ho and browser ko first Source se 2nd mein jana ho to ye error create krega agr ap 1 audio file ke sath kaam kr rhe hai ya fir first source supported hai by your browser then apko abhi koi problem nhi hogi i hope u will understand what i am trying to say thank for watching and commenting on this video
@minecrafter4623
@minecrafter4623 2 жыл бұрын
How do i have it on autoplay and turn down the volume? Without the slider
@shudocode
@shudocode 2 жыл бұрын
use autoplay="true" and volume="0.1" attributes inside your Audio tags For example but keep in mind most browsers don't allow us to play audio file automatically on the page load "DUE TO SECURITY REASONS"
@minecrafter4623
@minecrafter4623 2 жыл бұрын
@@shudocode yeah I’m using an html as an overlay and it has a looping audio every so often but it’s too loud. So I wanna turn it down a little I will try that.
@jishnuroyal5563
@jishnuroyal5563 5 жыл бұрын
Bro pls help it's not working
@shudocode
@shudocode 5 жыл бұрын
jishnu royal thanks for writing to us. Can you provide your HTML code so we can take a look and resolve your problem ASAP.
@MelvinAdekanye
@MelvinAdekanye 5 жыл бұрын
*I got you bro. Here's another tutorial* kzbin.info/www/bejne/Z2rSin2eaNmMpJY
@shudocode
@shudocode 4 жыл бұрын
or you can Copy Our Code Using These Links (BTW Thanks for Watching and Commenting on our Video) : First Link : programminghead.com/CODE/?id=audio-in-html-Example1 2nd Link: programminghead.com/CODE/?id=audio-in-html-Example2
@shudocode
@shudocode 4 жыл бұрын
Thanks
@deepakagarwal9089
@deepakagarwal9089 4 жыл бұрын
I have written another directory file of music then he did not play the muic
@shudocode
@shudocode 4 жыл бұрын
if your Audio file is present at Different Directory then You have to Give Full path of that Audio file inside the Audio tag's SRC attribute. Like : file:///C:/Users/Downloads/audio.mp3 And plese make sure that you add "file:///" before your File's Path
@donaldtugonon2954
@donaldtugonon2954 4 жыл бұрын
You savved me😊😊
@shudocode
@shudocode 4 жыл бұрын
thanks for watching
@milanbudha3381
@milanbudha3381 4 жыл бұрын
all browsers support mp3 except ogg and wav
@shudocode
@shudocode 4 жыл бұрын
Milan Budha you are right sir
@LetsUnbox29
@LetsUnbox29 3 жыл бұрын
Only one audio is accepted ??
@shudocode
@shudocode 3 жыл бұрын
no you can use multiple audio with multiple audio tags.. but if u are using audio tags with multiple sources then it will pic one supposed audio and skip others
@anshagrawal8141
@anshagrawal8141 3 жыл бұрын
Op
@shudocode
@shudocode 3 жыл бұрын
thanks
How to Insert Video in HTML using NotePad Text Editor
4:45
ShuDoCode
Рет қаралды 149 М.
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 16 МЛН
Learn HTML audio in 5 minutes! 🔊
5:17
Bro Code
Рет қаралды 75 М.
Learn HTML in 1 hour 🌎
1:00:00
Bro Code
Рет қаралды 2,1 МЛН
A flexbox trick to improve text wrapping
5:02
Kevin Powell
Рет қаралды 213 М.
How to Create, save and Run HTML File
8:03
ShuDoCode
Рет қаралды 33 М.
How to insert Background Image in HTML using Notepad [Updated]
5:41
The use of Audio and Animation on Web Pages in HTML [With Code]
5:32
How to put an HTML website online (on the Internet)
29:37
SuperSimpleDev
Рет қаралды 1,6 МЛН
AUDIO & VIDEO Tags in HTML5 || Inserting Audio & Video on Webpage || Learn HTML5 Tags
12:19
Insert Video into a Website Using HTML5
4:17
Geek Tutorials
Рет қаралды 420 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 356 М.