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.
@shudocode4 жыл бұрын
Please share your Code here : programminghead.com/help/ I will check your Code and Inform about the Problem through your Given Email Address. Thanks
@vembarasane73483 жыл бұрын
It's ok.. Thanks 🙂
@r301pirate22 жыл бұрын
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
@shudocode2 жыл бұрын
Wow thanks for your kind words
@r301pirate22 жыл бұрын
@@shudocode No problem thank you for the help!
@VictorVictory-te2ij13 күн бұрын
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!
@shudocode13 күн бұрын
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
@imnoturgod38082 жыл бұрын
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.
@shudocode2 жыл бұрын
Oh thanks for saying that. Comments like these motivates me a lot.. Thanks again and BTW Thanks for watching
@sKM1435 жыл бұрын
Thanks for This "How to Insert Audio in HTML using NotePad text Editor" Video. It helped me A lot.
@shudocode5 жыл бұрын
we are glad to hear that.
@MOHAMMAD_JUNAID_KHAN7863 жыл бұрын
yeah me tooooooo
@nrx90404 жыл бұрын
this video helped me soooo much, i kept getting inserting audios in html5 and no notepad, so for this i thank you sir
@shudocode4 жыл бұрын
NΘϊr νφx thank you for watching.
@urmomsayshitou8 ай бұрын
Thank you soooo muchhhh because of you I'll pass my exam!!!! I'm so grateful to you now!!!
@shudocode8 ай бұрын
Thank you for your kind words! I'm honored to have been a part of your exam success.
@johntaylor79224 жыл бұрын
Perfect! Saved me hours of work, thanks a million...
@shudocode4 жыл бұрын
thanks for watching
@seorangmusafirjalanan56902 ай бұрын
THANK YOU SIRRRRRR. YOU MADE MY DAYYYYY🎉🎉🎉🎉🎉
@shudocode2 ай бұрын
and your comment made mine thanks for watching
@jairussano74753 жыл бұрын
THIS WORKED FOR ME !!! tysm hehehehe i have an html project for school
@shudocode3 жыл бұрын
happy to know that
@MOHAMMAD_JUNAID_KHAN7863 жыл бұрын
thanks it helped me a lot
@shudocode3 жыл бұрын
Thanks for Watching
@kungagyalmo9493 жыл бұрын
Thanks a lot U make my day
@shudocode3 жыл бұрын
Glad to hear that BTW thanks for Watching
@FoXenthusiast424 жыл бұрын
Controls are there but doesn’t allow me to play it :(
@shudocode4 жыл бұрын
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
@juhiee73153 жыл бұрын
Thanks sir so much.... 👍👍👍😀😀🙂🙂
@shudocode3 жыл бұрын
Thanks for watching
@nathantroybontilao19412 жыл бұрын
This really helped me in my class today thank you sir kumar 💜
@shudocode2 жыл бұрын
Thanks for Watching Sir Bontilao
@falaksayyed69654 жыл бұрын
thank you very much 😊
@shudocode4 жыл бұрын
Thank you for Watching
@ayushthapliyal87683 жыл бұрын
Thanks for the information
@shudocode3 жыл бұрын
thanks for watching
@avishpamukherjee19083 жыл бұрын
Thank you....thank you.... thank you....a lot ....your video kinda saved my life
@shudocode3 жыл бұрын
Glad it helped! and thanks for this Comment. People like you motivates me. thanks
@cvgamers77753 жыл бұрын
Thank you so much bro now i am making a online songs download Websight thank u a lot
@shudocode3 жыл бұрын
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
@cvgamers77753 жыл бұрын
@@shudocode bro for me i am not getting download button in it trying hard from morning . pls make a video on it bro
@shudocode3 жыл бұрын
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
@jennyofoldstones88794 жыл бұрын
This helped me! Thank you so muchhhhh!!
@shudocode4 жыл бұрын
Jenny of Oldstones thanks for watching
@emily951154 жыл бұрын
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!
@shudocode4 жыл бұрын
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.
@emily951154 жыл бұрын
Shubham Kumar Thanks a lot! I’ll give it a try!
@emily951154 жыл бұрын
@@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.
@shudocode4 жыл бұрын
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... :)
@emily951154 жыл бұрын
Shubham Kumar That’s very nice of you!!!’ Thanks very much!!!!
@stanleymufuka13564 жыл бұрын
its so good thank you i am sure i will not make any erros
@shudocode4 жыл бұрын
Stanley Mufuka thanks for watching
@rezervarezerva62223 жыл бұрын
You are the best, you explained every possibility out there and you helped me a lot! Thank you very much!
@shudocode3 жыл бұрын
thanks for watching and for leaving such a great comment
@cuteanimals-dz7ti4 жыл бұрын
Thanks dada for share that information
@shudocode4 жыл бұрын
Vishal Suryawanshi thank you for watching
@anshagrawal81413 жыл бұрын
Worked___ thanks broo....
@shudocode3 жыл бұрын
thanks for watching
@uniqueemperor43063 жыл бұрын
as there anyway we can let audio play in background and user dosent have controll
@shudocode3 жыл бұрын
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
@duyenluong17748 ай бұрын
It's work. thanks so muchhh
@shudocode8 ай бұрын
Happy to hear that. BTW Thanks for watching
@sanjaysahu98664 жыл бұрын
Thank you very much
@shudocode4 жыл бұрын
Sanjay Sahu thanks for watching sir
@kelsey55042 жыл бұрын
THANK YOU SO MUCH
@shudocode2 жыл бұрын
Thanks for WATCHING :)
@elahdesigned3 жыл бұрын
*Thank you so much about this!*
@shudocode3 жыл бұрын
Thanks for watching
@PawanPawar12 жыл бұрын
Thank you bro!!
@shudocode2 жыл бұрын
Thanks for Watching
@Garimaaazzz-x2w8 күн бұрын
best tutorial...tysm
@shudocode8 күн бұрын
best comment.... TYSM for watching
@heisenbergx1181 Жыл бұрын
tysm broo u literraly resute a huge problem that i had
@shudocode Жыл бұрын
i am glad that i could help. Thanks for watching
@zainabansari5733 жыл бұрын
Thank youu sir 😃
@shudocode3 жыл бұрын
Thanks for Watching
@TheVoice001832 жыл бұрын
Tnq very much bro .from srilanka
@shudocode2 жыл бұрын
Thanks for watching
@virusehwag95624 жыл бұрын
Very nice 👌👌👌👌
@shudocode4 жыл бұрын
Viru Sehwag Thanks for watching
@keerthisatheesh98884 жыл бұрын
It hlpd me in my board practicals Tnx brook u r grt
@keerthisatheesh98884 жыл бұрын
I mnt broooo
@shudocode4 жыл бұрын
@@keerthisatheesh9888 I am Glad to Hear That and Thanks for Watching.
@Shubhamsynk4 жыл бұрын
Good sir
@shudocode4 жыл бұрын
Thanks For watching
@harishankaryadav64964 жыл бұрын
Thanks a lot for this video it's really help me to use audio tag
@shudocode4 жыл бұрын
I am glad to hear that. Thanks for watching
@pavankumarkj2553 жыл бұрын
i'm subbing All the best
@shudocode3 жыл бұрын
Thanks for this
@ayushchaudhary22002 жыл бұрын
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
@shudocode2 жыл бұрын
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
@ayushchaudhary22002 жыл бұрын
Thanks for replying
@shudocode2 жыл бұрын
@@ayushchaudhary2200 thanks for pointing out my mistake
@emajnikhil65352 жыл бұрын
Thanks yaar i learned now 😇
@shudocode2 жыл бұрын
Thanks for watching Yaar.. have a good time :)
@richardw23702 жыл бұрын
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
@shudocode2 жыл бұрын
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:
@richardw23702 жыл бұрын
@@shudocode Thank you indeed for your help, very much appreciated
@shudocode2 жыл бұрын
My pleasure
@HiyaThaker3 жыл бұрын
it worked thank you so much sir!!!
@shudocode3 жыл бұрын
Thank you so much ma'am for watching
@pavithraraji71753 жыл бұрын
Aww bro this is great thank you 🤩🤩
@shudocode3 жыл бұрын
Thanks For watching :)
@Igniteyouth20005 жыл бұрын
Bhi bahoot hard, sahi ja raha hai, laga Rai
@shudocode5 жыл бұрын
Micro gamer thanks bhai
@pallavisingh7544 жыл бұрын
Thank you
@shudocode4 жыл бұрын
Pallavi Singh thanks for watching
@harveerjassi10544 жыл бұрын
love you bro
@shudocode4 жыл бұрын
jassi Jassi thank you bro
@nursyazwanibintimohdyusoff20712 жыл бұрын
Hi! Your video helps me a lot. Thank you so much!! :)
@shudocode2 жыл бұрын
thanks for watching
@haneenkhaled52854 жыл бұрын
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.
@shudocode4 жыл бұрын
Haneen Khaled please submit your code here programminghead.com/help/ and i will check your code and try to fix your problem
@haneenkhaled52854 жыл бұрын
@@shudocode Thaank youu so muchh!! you're so kind❤
@shudocode4 жыл бұрын
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.
@shudocode4 жыл бұрын
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)
@haneenkhaled52854 жыл бұрын
@@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
@satenderchauhan98314 жыл бұрын
THANKS BRO
@shudocode4 жыл бұрын
thank you bro for watching
@sravanthikunchapu93904 жыл бұрын
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
@shudocode4 жыл бұрын
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 :)
@sravanthikunchapu93904 жыл бұрын
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
@shudocode4 жыл бұрын
sravanthi kunchapu can you please give me more details about what exactly you are looking for?
@sravanthikunchapu93904 жыл бұрын
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
@shudocode4 жыл бұрын
programminghead.com/CODE/?id=audio-test-and-vote Check this Link and Tell me what else do you need?
@joanajohn11085 жыл бұрын
thanks
@shudocode5 жыл бұрын
joana benjamin thanks for Watching.
@user-uo6tv9jo8p3 жыл бұрын
Helped me a lot Thank u so much !!
@shudocode3 жыл бұрын
Glad it helped! BTW thanks for Watching
@ramprvesh93194 жыл бұрын
Sir, I don't think that we need to close audio tag. Isn't it? Please reply
@shudocode4 жыл бұрын
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
@rashidasanaa78994 жыл бұрын
this video was so damnnn helpful!!!!! thank you so much!!!!!
@shudocode4 жыл бұрын
Thank you so much for watching and for this Very kind Comment.
@divuslife4 жыл бұрын
Tx sir
@shudocode4 жыл бұрын
thanks for watching Ma’am
@greenwoodhoran88684 жыл бұрын
Thank you thank you thank you!
@shudocode4 жыл бұрын
Chelsy Greenwood Horan thanks thanks thanks for watching :p
@AliBabaBanana4 жыл бұрын
audio is not playing automatically :(
@shudocode4 жыл бұрын
Ali BaBa this is because browsers like google chrome don’t allow users to play audio file automatically because of some security reasons.
@AliBabaBanana4 жыл бұрын
Shubham Kumar I see thank you so much for answering I really appreciated
@shudocode4 жыл бұрын
Ali BaBa thanks for watching this video
@craftyarsh45052 жыл бұрын
Amazing Brother You Are Doing Great Keep It Up 💖💐👍🏻
@shudocode2 жыл бұрын
Thanks for saying that BTW Thanks for watching
@craftyarsh45052 жыл бұрын
@@shudocode You Are Most Welcome Bro Ur Way Of Teaching Is Too Good 💐👍🏻❤️
@westonnemitz10934 жыл бұрын
OMG THANK YOU THANK YOU THANK YOU
@shudocode4 жыл бұрын
thank you for watching thank you for watching thank you for watching
@blackforest11323 жыл бұрын
Thanks this helped!!!
@shudocode3 жыл бұрын
i am glad to hear that. BTW Thanks for Watching
@sideswipe59402 жыл бұрын
Hi thank you it worked, but I have a question, does this work on other computers?? I assume not?
@shudocode2 жыл бұрын
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
@sideswipe59402 жыл бұрын
@@shudocode oh thank you very much it helped me.
@shudocode2 жыл бұрын
@@sideswipe5940 i am GLAD. BTW thanks for Watching
@rekhachauhan85532 жыл бұрын
Thanks a lot bro 😊
@shudocode2 жыл бұрын
Thanks for watching sis :)
@user-fw5kl9xh7o2 жыл бұрын
thank you so much i love you
@shudocode2 жыл бұрын
You are welcome.. and I love u too LOL (sorry if I offended you)
@josephhylton53343 жыл бұрын
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
@shudocode3 жыл бұрын
Watch this video kzbin.info/www/bejne/gIioYquwg5qalcU This might help
@Tricksterhub084 жыл бұрын
Thank U so much bro😍
@shudocode4 жыл бұрын
Muhammad Faiq thank U so much for Watching
@fakename29563 жыл бұрын
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?
@shudocode3 жыл бұрын
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-dx2le2 жыл бұрын
Bro very very tanx bro😊😊😊
@shudocode2 жыл бұрын
Thanks for watching 😊
@txtmoaot53 жыл бұрын
Thank you so much!!! 💯
@shudocode3 жыл бұрын
Thanks for Watching
@r301pirate22 жыл бұрын
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?
@shudocode2 жыл бұрын
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
@r301pirate22 жыл бұрын
@@shudocode yes the files are in the same folder
@shudocode2 жыл бұрын
@@r301pirate2 are you free for google meet right now?
@r301pirate22 жыл бұрын
@@shudocode yes I am so I have to download anything for it?
@shudocode2 жыл бұрын
no Just join this meeting using your web-browser click this link link expired LOL
@shivagayakwad69242 жыл бұрын
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
@shudocode2 жыл бұрын
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 :)
@shivagayakwad69242 жыл бұрын
@@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
@shudocode2 жыл бұрын
For that just pass User input in JS variable and use Variables to play audio etc
@omarmissaoui25852 жыл бұрын
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
@shudocode2 жыл бұрын
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
@melvenbarlongo77422 жыл бұрын
Thank you so much! T_T
@shudocode2 жыл бұрын
thanks for watching
@traducoesdemusicascomvozse52144 жыл бұрын
Is streaming Shoutcast aac supported today? Good tips.
@shudocode4 жыл бұрын
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
@noobtwin99283 жыл бұрын
Tommarow is last day for submitting. My it practical pls help me sir❤️
@shudocode3 жыл бұрын
yes tell me your problem
@noobtwin99283 жыл бұрын
@@shudocode sir write html code to insert audio clip named audio1.mp3 in the webpage
@noobtwin99283 жыл бұрын
Pls tell me
@shudocode3 жыл бұрын
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
@noobtwin99283 жыл бұрын
@@shudocode tnku sir❤️❤️
@generaitnet3 жыл бұрын
Hi Shubham. I made an online app which uses audio from youtube as the audio. Let me know if you want to review it
@shudocode3 жыл бұрын
yes i want to review it
@ashpjangde4 жыл бұрын
Thanks a lot, man!!
@shudocode4 жыл бұрын
Ashish Prakash thanks for watching
@anjupurohit63304 жыл бұрын
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///
@shudocode4 жыл бұрын
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
@theanhang733711 ай бұрын
tysm:DDDDDD
@shudocode11 ай бұрын
Thanks for watching :D
@anderso.madsen29762 жыл бұрын
is it possible to have two audio controls in one html
@shudocode2 жыл бұрын
Yes it is Possible You just need to use Two *Audio Tags* with *controls* Attribute
@A_fan_from_a_small_village3 жыл бұрын
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.
@shudocode3 жыл бұрын
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_village3 жыл бұрын
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
@shudocode3 жыл бұрын
actually i can explain it rightnow using zoom or google meet
@A_fan_from_a_small_village3 жыл бұрын
Are you free for tomarrow at day time
@shudocode3 жыл бұрын
no
@lovo70654 жыл бұрын
what is the code for it to auto-play and loop?
@shudocode4 жыл бұрын
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-qn1mc4 жыл бұрын
I get confused in the part where you paste the full audio file’s path and then it disappears, did you delete it or?
@shudocode4 жыл бұрын
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-qn1mc4 жыл бұрын
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
@shudocode4 жыл бұрын
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-qn1mc4 жыл бұрын
Thank you sir the error is: “ Failed to load resource: net:: ERR_FILE_NOT_FOUND”
@shudocode4 жыл бұрын
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 Жыл бұрын
thks
@shudocode Жыл бұрын
Thanks for Watching
@spagetti25144 жыл бұрын
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
@shudocode4 жыл бұрын
for that you have to use CSS's margin:auto; properties or you can use CSS Flex there are so many options
@spagetti25144 жыл бұрын
@@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
@shudocode4 жыл бұрын
@@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/
@spagetti25144 жыл бұрын
@@shudocode hello sir i just emailed you !! please and thank you brother let me know what i have done wrong
@shudocode4 жыл бұрын
Dan Barb can you give me an example like how do you want to align those audio controls?
@arishkhanpathan69584 жыл бұрын
How can I add audio in an animation I made which will be played automatically when I run the animation
@shudocode4 жыл бұрын
Arish Khan i recommend you to watch this video kzbin.info/www/bejne/Z5fQl6p6h7Jof6s i hope this video will fix your problem
@arishkhanpathan69584 жыл бұрын
@@shudocode thank you...
@looneycrow79783 жыл бұрын
How to play without control panel.. background game music
@shudocode3 жыл бұрын
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
@kishorahir14364 жыл бұрын
That was very helpful👍👌
@shudocode4 жыл бұрын
Kishor Ahir Thanks for Watching
@Shubham-0002 жыл бұрын
thanks a lot
@shudocode2 жыл бұрын
You are most welcome BTW thanks for Watching Good DAY :)
@Shubham-0002 жыл бұрын
@@shudocode thanks bro
@kimdoahlipa15332 жыл бұрын
I did exactly what is said in the video, but it didn't work, I don't know why
@shudocode2 жыл бұрын
submit your code here programminghead.com/help/ and i will check your code and let you know where is the issue
@ssureshkumar95654 жыл бұрын
Can I add audio in a button?
@shudocode4 жыл бұрын
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.
@ssureshkumar95654 жыл бұрын
Thank you. I love the way you explained. It was clearly nice.
@shudocode4 жыл бұрын
s suresh kumar thanks for watching
@akaaLofficial3 жыл бұрын
brother maine source tag close nhi kia phir bhi song chal gya is this possible ye vala
@shudocode3 жыл бұрын
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
@minecrafter46232 жыл бұрын
How do i have it on autoplay and turn down the volume? Without the slider
@shudocode2 жыл бұрын
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"
@minecrafter46232 жыл бұрын
@@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.
@jishnuroyal55635 жыл бұрын
Bro pls help it's not working
@shudocode5 жыл бұрын
jishnu royal thanks for writing to us. Can you provide your HTML code so we can take a look and resolve your problem ASAP.
@MelvinAdekanye5 жыл бұрын
*I got you bro. Here's another tutorial* kzbin.info/www/bejne/Z2rSin2eaNmMpJY
@shudocode4 жыл бұрын
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
@shudocode4 жыл бұрын
Thanks
@deepakagarwal90894 жыл бұрын
I have written another directory file of music then he did not play the muic
@shudocode4 жыл бұрын
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
@donaldtugonon29544 жыл бұрын
You savved me😊😊
@shudocode4 жыл бұрын
thanks for watching
@milanbudha33814 жыл бұрын
all browsers support mp3 except ogg and wav
@shudocode4 жыл бұрын
Milan Budha you are right sir
@LetsUnbox293 жыл бұрын
Only one audio is accepted ??
@shudocode3 жыл бұрын
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