I wonder if it's possible to capture browser-audio or even system-audio via html5 and then sending to a server? i searched already 2 years ago for a solution but maybe now it's possible. :) i think the main problem is the internal routing in the OS right?
iv'e found a tutorial for this kind of things - http://www.html5rocks.com/en/tutorials/getusermedia/intro/
Related
This question already has answers here:
Cross Browser Flash Detection in Javascript
(16 answers)
Closed 9 years ago.
I am in the process of trying to rewrite my website, and I have limited experience in HTML/CSS/Javascript. It is a photography website using galleries. I am wanting to make the default view to be using Flash, but I know that iPad/iPhone etc do not support Flash. I am looking for a way to determine what the OS is so I can direct the iWhatevers (and others if there are any), to a purely HTML site, and the non-iWhatevers to the Flash site.
I presume it would be done in the Heading part of the HTML, but what script would I use to do this?
Thank you in advance...
That sounds like a lot of extra work to create to maintain a Flash and a regular HTML site when a properly done HTML5 site can kill all the browsers with one stone. Consider a CMS like WordPress if you are not comfortable with a lot of coding.
However, if you want to go the route you mentioned, this thread will show you how: Detect if device is iOS
I'm working on an HTML5 radio player in Meteorjs. See http://radio.meteor.com/ or http://github.com/guaka/radio-meteor
I want to display the song that's currently playing. How can I do that?
I'm not sure if resorting to server side would be a great idea as the server would have to fetch metadata for a growing number of streams (I want to allow people to add more channels).
Browsers compatibility is not that much of an issue, as long as it will work in Phonegap. I don't care about all browsers (i.e. IE) as long as I can make it fails gracefully.
I think Pulling Track Info From an Audio Stream Using PHP might be an answer than can work for Meteor (server side).
It should be possible via filereader on the client end, browser compatibility would be a bit of trouble.
Have a look at:
http://ericbidelman.tumblr.com/post/8343485440/reading-mp3-id3-tags-in-javascript
Maybe not actual now, but can help somebody else. I use this one package to getting metadata about streaming audio
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Are iframes considered 'bad practice'?
As far as practicality of application and what is considered "good" or "proper" practice in modern web development, is using the <iframe> tag considered "acceptable"?
I'm aware that HTML5 has implemented some new attributes for this tag, but IIRC, <iframe> has gotten some bad rep in the past.
Is this something that should be handled case-by-case, or is it best to try and avoid the usage of this tag despite HTML5s new support for it?
Yeah, this is one of those cases where it's not a "yes or no" type answer. Nowadays there is a lot you can accomplish using AJAX to load HTML from the server and have it populate a div for you - heck jquery's even got it built into their AJAX functions.
I normally try to figure out if that's a good solution for the problem before resorting to iframes. Sometimes, however, an iframe just does the job better. It maintains its own browser history, helps you segregate CSS styles if that's an issue with the content you're loading in.
I like j08691's comment that it's a "necessary evil" sometimes, but don't let that stop you from using it when the AJAX/Div solution just gets too damn ugly or requires too many hacks to get working.
I have an HTML based application i want to add video conference any idea please. I want exact functionality like Skype. I have checked Skype API but it does not support video in HTMl. Any idea how i can implement in java script of Java.
You will probably have to work with node.js for setting up a bidirectional client-server-communication with WebSockets (some examples). If you haven't heard of it, you can think of node.js as serverside JavaScript.
You will also need (something like) the Media Capture API to capture video and audio devices.
Try googling some of these keywords and you will find tons of examples how to work with them.
Good luck!
I am working on a collaborative website that I want to give users notifications while they are viewing or editing data. Something similar to how in StackOverflow if you are replying to a question and the notification at the top pops up saying that there is a new reply to the post.
I can see how to do this using some kind of polling AJAX magic, but I was wondering if there was any way to push the notification to the browser w/o using polling?
Thanks for any help/ideas :)
EDIT:
For those interested, I went with SignalR https://github.com/SignalR/SignalR/wiki/Hubs
Either use long polling for it to work in older browsers, or start reading up on eventSource:
http://dev.w3.org/html5/eventsource/
Nice article by Nicholas Zakas:
http://www.nczonline.net/blog/2010/10/19/introduction-to-server-sent-events/
Well im starting to use Websockets (see some of my previous questions) and they are cool to use instead of ajax :-D
Generally no, but there is a family of techniques that simulate such an effect.
Look into comet if you'd like to give it a shot: http://en.wikipedia.org/wiki/Comet_(programming)