Music won't play in Firefox [closed] - audio

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.

Related

How to download whole web directory with multiple download streams? [closed]

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 7 years ago.
Improve this question
I want to download a directory with 100s of large files (500MB - 1.5GB each.) The only problem is there is a download speed limit, and it takes nearly an hour just to download a single file.
What built in command or package on Linux would be able to download all files in a web directory with multiple download streams? If I ever have to restart, I would need the program to ignore already downloaded files.
Read the man page for wget. It supports exactly what you want.
Note that most sites will ban you for downloading too many files too quickly. Someone is paying for that bandwidth, and if you leech too much, it becomes a tragedy of the commons.
Additionally to wget, you can use axel to open multiple streams for a single file, in case you need more speed on single files as well.

"Tricking" browser into loading without display in Raspbian [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Improve this question
I have a headless raspberry pi, which needs to access a server on boot. As it will be using WebRTC (though attached webcam & speakers), the browser that it uses will need WebRTC support, which I think narrows it down to something like chromium or iceweasel.
The device itself will not have a display, but these browsers won't launch without one. Is there a way to trick Raspbian/the browser into thinking there is a display? (I can't forward the display to another computer).

Capturing a traffic Chrome sends [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
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
Improve this question
For debugging purporses I need to find out what exactly (packets and their headers, data, etc) Chrome sends over a network. Not an html page, but Chrome by itself.
How do I do that? If I need to use wireshark, how do I set up for this?
Wireshark is what most use. If you're in windows you can use fiddler apparently. I've never tried it, but I assume it does what it says.
http://hak5.org/episodes/haktip-64
https://confluence.atlassian.com/display/CONFKB/Capturing+HTTP+traffic+using+Wireshark+or+Fiddler
There's also one called HTTP Debugger. Worth a google.
Enjoy
As far as capturing data packets is concerned Wireshark is one of the best and mostly used software. It has a GUI interface whichs makes it easy to operate also you can define filter's as well as custom filters in it.
Here's the link
Wireshark
Wireshark Documentation

Noscript forbid JAVA but accept JS? [closed]

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 9 years ago.
Improve this question
Noscript forbid JAVA but accept JS? is this possible at all with noscript? if so how?
I want to use javascript to be able to se some content but i never want to turn Java on for any site i visit. I interpret the gui as noscript misses this option
Im using firefox
Unlike JavaScript, Java is not a normal part of the browser. Just don't install any Java browser plugin, or remove it if it is there. It's not so cut-and-dried for every case, but http://nakedsecurity.sophos.com/2012/08/30/how-turn-off-java-browser/ (and many other sites, if you google for "disable java in browser") has more details. (The instructions are OS and browser specific, so it would be too much to replicate them here.)

Does the Google Cast extension for Google Chrome support 1080p? [closed]

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 8 years ago.
Improve this question
In the Options for the Google Cast extension under 'Tab projection quality', there are three options:
Extreme (720p high bitrate)
High (720p)
Standard (480p)
1080p is not listed.
I assume if I play a 1080p video that it will work because it's sending the video url to Chromecast, but am I limited to 720p for regular HTML webpages?
This appears to be more of a user question, not a development question.
The Google Cast extension for Chrome provides two major functions:
Chrome Mirroring - which is limited to 720p - This acts by encoding your tab to WebM/Opus and then sending to the Chromecast device.
The Google Cast API for Chrome which allows your webpage to cast a video to a Chromecast device. Which, of course can be full 1080p. Official documentation.

Resources