Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,171,926 members, 7,883,244 topics. Date: Monday, 08 July 2024 at 07:24 AM

Html Audio Help......urgent - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Html Audio Help......urgent (902 Views)

Wordpress Help, Urgent / Small Practice Projects In HTML And CSS For Web Design Students / Php , Html , Xml, Wml Free Codes (2) (3) (4)

(1) (Reply) (Go Down)

Html Audio Help......urgent by bruzrecordz(m): 4:08pm On Feb 14, 2015
av bin tryin so hard to create html audio/video codes that can play in all user agents (browsers) bt i cant seem to get it so please can anyone help me out....thanks
Re: Html Audio Help......urgent by Nobody: 5:01pm On Feb 14, 2015
what's the format of your audio and video ? keep it in mind that media formats supported by a browser varies in respect to it's version....your best bet if you want to achieve that is
- to use a cross platform format that is supported by all browsers which are mp3 or wav (for audio) and mp4 (for video).


you should be able to find the currently supported formats online...


video tag doesn't work with <=IE8, so if na IE dey disturb you,you can just try HTML5 shim grin grin
Re: Html Audio Help......urgent by bruzrecordz(m): 5:23pm On Feb 14, 2015
html>
<head>
<title>bruzzy music is my life
<\title>
<\head>
<body body>
<center><h2>new music video<\h2><\center>
<br>

<h1>
video
<\h1>
<p>new music</p>
<video id="video1" width="640" height="360" controls>
<source src="copied my file location/name of file.mp4" type="video/mp4"/>
<\video>
this is html code i use, it work with chrome bt cant work with firefox and internet explorer so i need d one that can play in all browsers.
Re: Html Audio Help......urgent by Nobody: 6:42pm On Feb 14, 2015
your code is correct....what version of Mozilla and IE are you testing this on ? like I said it doesn't work 4 IE8 AND below, (if you are using windows 7,you are definitely hooked with version 8.)..So IE is out of the talk now.

try another video, might be encoding/mime issues....did you rename that video to a .mp4 ? *sounds stupid, I know but...... *



it works over here with both chrome and Mozilla
Re: Html Audio Help......urgent by bruzrecordz(m): 7:12pm On Feb 14, 2015
mozilla Firefox 35.0.1
chrome 40.0,2

can <div> work in all browsers..i was told it is possible bt it keep displaying mime on my screen
Re: Html Audio Help......urgent by Nobody: 7:35pm On Feb 14, 2015
bruzrecordz:
mozilla Firefox 35.0.1
chrome 40.0,2

can <div> work in all browsers..i was told it is possible bt it keep displaying mime on my screen
div should work in all browsers,cheap if your tag is paired,like <>
.Do you mean mine or mime ?

did you try another video?
Re: Html Audio Help......urgent by bruzrecordz(m): 8:28pm On Feb 14, 2015
i min it kip displaying no video with supported format and MIME type found...

create ur own format,leme c if d fault is frm d browser or my syntax....u min it work wt ur firefox...ur system is it window8
Re: Html Audio Help......urgent by Nobody: 3:06am On Feb 15, 2015
this is mine........please add the !doctype tag and <meta charset="UTF-8">




did you try another video ?

Re: Html Audio Help......urgent by bruzrecordz(m): 9:53pm On Feb 15, 2015
<html>
<head>
<title>bruzzy music is my life<\title>
<meta charset="utf-8" />
<\head>
<body>


<video controls>
<source="C:/users/harrison/desktop/videos/bruzzy music is my life.mp4" type="video/mp4" />
<iframe width="640" height!="360">
<\iframe>
<\video>
<\body>
<\html>
i even tried using meta charset="utf-8 and i stil got notin...please confirm if i add d meta charset ryt in dis format...
Re: Html Audio Help......urgent by Nobody: 4:07pm On Feb 16, 2015
Move the video to the same directory where your html file is located and try the code below.


<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>bruzzy music is my life<\title>
<\head>
<body>
<video width="640" height="320" controls> <source src="filename.mp4" type="video/mp4"> </video>
<\body>
<\html>
Re: Html Audio Help......urgent by bruzrecordz(m): 7:13pm On Feb 16, 2015
dsame result...only work wt google chrome....
am rili getin frustrated ova hia....is assignment i gav myself n its up to a week n i stil got nothin concrete...
Re: Html Audio Help......urgent by Nobody: 3:56am On Feb 17, 2015
the code above works here...the video is probably not an mp4 file,maybe an mkv..check the properties and do try it with another video,a music video preferably
Re: Html Audio Help......urgent by bruzrecordz(m): 11:05pm On Feb 17, 2015
nope wat i av is mp4...n i even updated my browsers...
av u created any professional site
Re: Html Audio Help......urgent by Nobody: 4:48am On Feb 20, 2015
bruzrecordz:
nope wat i av is mp4...n i even updated my browsers...
av u created any professional site
Re: Html Audio Help......urgent by bruzrecordz(m): 11:48pm On Feb 20, 2015
lolz dats cool, me i wnt to b a professional when am tru with this course.

(1) (Reply)

Nigerian Internet Webmasters Association (NIWA) / Who Can Solve This Problem Pls / I Have A Google Acct For Sale Including Adsense

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 20
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.