Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio + browser-sync = :( #33

Closed
hellonicolas opened this issue Jan 31, 2014 · 6 comments
Closed

Audio + browser-sync = :( #33

hellonicolas opened this issue Jan 31, 2014 · 6 comments

Comments

@hellonicolas
Copy link

Hi again :) This one's a 2-part issue!

  1. Similar to the previous AJAX issue I posted ( AJAX requests in proxy mode causing browser redirect #29 ), browser-sync is redirecting the browser to any mp3/ogg/m4a audio files that get dynamically loaded with JS.
  2. Audio files don't seem to play when piped through browser-sync. If I go to the original source domain (before the proxy), the files play fine. Any ideas?

Here's a screencast to demonstrate what I'm talking about: http://quick.as/b7luzpn

I'm testing on Chrome w/ grunt-browser-sync v0.5.2. Let me know if you need any other info; thanks!

@shakyShane
Copy link
Contributor

I'm on it - thanks for reporting :)

@shakyShane
Copy link
Contributor

A fix is coming later - along with a new feature that will allow you add your own urls/file extensions that should be 'ignored' by BrowserSync.

Related:
BrowserSync/browser-sync#43

@hellonicolas
Copy link
Author

You're the best. :shipit: For future reference, would you prefer issues like this being added to the browser-sync repo instead?

Thanks!

@shakyShane
Copy link
Contributor

Yeah that would be great, thanks

Sent from my iPhone

On 1 Feb 2014, at 15:28, hellonicolas [email protected] wrote:

You're the best. For future reference, would you prefer issues like this being added to the browser-sync repo instead?

Thanks!


Reply to this email directly or view it on GitHub.

@shakyShane
Copy link
Contributor

Please update to version 0.5.4 to fix this issue.

To prevent this happening with other file-types in the future, there is now a option that allows you to add your own.

https://github.com/shakyShane/browser-sync/wiki/Working-with-a-Config-File#wiki-excludedfiletypes

@hellonicolas
Copy link
Author

Awesome, thanks! Seems to work well so far 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants