Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Can you suggest a good way to play audio files on a website?
I am building a browser based sound board with html5 audio and java script. I am testing it in Safari, chrome, ie and firefox. So far no problem. The only issue is the formats the browsers play ie firefox will only play .ogg.
To solve this i have a user agent detector to direct to a version of the site with has .ogg files on it.
I would recommend using the audio tag. As for fall back 'Yi Jiang' is dead right. You could use something like JPlayer which is an html5 audio plugin with fallback.
-kev
Please mark an answer
Have you tried a HTML5 Audio Google Search?
<audio src="elvis.ogg" controls autobuffer></audio>
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would like to create a sample installer, while installing that setup video/audio should be play in background, so that we can inform the features of our product in Video/Audio format.
I have gone through Inno media player and
Later on i went through this link .
But unfortunately i didn't succeeded. Am not very clear about how to embed flash screen in my installer.
Can any one have better idea about it, please update me.
Thank you!
Maybe the simplest way for displaying the video is to create new (external) window and put the WebControl in it.
WebControl is simple web frame which can contain any website - so you can view YouTube videos, Flash videos or gif animations or any web content.
With sound it is even easier: use BASS audio library or TLama's library.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Sorry i am unable to provide you a fiddle or the url of my working system. I wanted a comprehensive explanation why my system is not compatible(at some functions like caret positioning) with firefox and compatible with the other three? What's inside those system? Is it because the three browsers are webkit-based?
This is a general question. Im not asking how to fix my system to be cross-browser compatible. I wanted to understand why such thing happen, dipper.
Nowadays most cross browser differences is because you are using non-standard functions that are added by one browser vendor, so it's not supported by other browsers. The W3C organisation defines some standards for the web, and that's what browsers try to follow.
Older versions of browsers were not as good at following standards, which is most noticable with older versions of Internet Explorer, especially as they tend to be upgraded less frequently than browsers that people choose to install themselves.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is there a way to compress SVG files?
I've been told that SVGz is the best way although I haven't found a converter to convert my SVG file.
Or is there an app where I can import an SVG file and export to SVGz?
It uses GZip:
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics#Compression
If you host SVG files on a web server, and have a properly configured web server, your web server will already compress files sent to the client, so compression of the SVG to SVGz is unnecessary (in fact undesirable).
To test whether your web server is configured correctly, refer to: How can I tell if my server is serving GZipped content?
I know this is an older post but I thought it may be helpful to actually list out apps that can save in svgz format as per your request. Adobe Illustrator's Save As will allow you to save out to svgz format, as well as Inkscape, 7Zip, and if you are a fan of the command line and use windows this is a fairly simple solution GZip for Windows.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
The site is http://www.kingcharltonmusic.com/album/wednesday-overproof-riddim-2/
I am using a plugin that asks for mp3 and ogg versions of the file. For some reason, every other browser uses the mp3, but firefox looks for the ogg and then I get some sort of error and it won't play. Here is the error:
HTTP "Content-Type" of "text/html" is not supported. Load of media resource http://www.kingcharltonmusic.com/wp-content/uploads/2012/04/Wednesday-ogg1.ogg failed. # http://www.kingcharltonmusic.com/album/wednesday-overproof-riddim-2/
Any help would be greatly appreciated!
it looks like firefox is having a hard time with the OGG mime type and is trying to read it as html. You should try to force the content-type header to mp3 or ogg when you're serving up a file like that.
I use Buzz.js for playing music, you still have to provide a mp3 file as well as an ogg one, but it solves your problem and works on every browser.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
Why every web browser interpret the web page different. Is it some standard for interpreting HTML, CSS or JavaScript or that depends of company witch development the web browser.
The browser is what interprets the html. The browser engineers do have a standard to go by, but in the end, they choose how their browser will interpret and display the html, css, etc, and how it will function.
There is a standard specification set by the World Wide Web Consortium. Most browsers follow it pretty well. Firefox, Opera, et. al. follow it pretty much to the letter but Internet Explorer does not in some cases.
actually yes it depends upon the interpretation of CSS and in turn, many tags.
This article provides some more insight on the matter.