I want to make a site that streams live media over the net incorporating a web player built in HMTL5. I have read about the Microsoft's Media Streaming Platform and SWf of Microsoftfor streaming media but all of it went over the head.
Is there any one true way of streaming videos without using any plugins like Flash but in simple HTML5 and JS.
I have asked this question a lot of time here before but every time it was unanswered. Please help me.
Thank you.
Can you try http://www.videojs.com/ It's pretty easy to implement.
Related
This question already has an answer here:
Reading output audio data from Spotify Web Playback stream
(1 answer)
Closed 3 years ago.
first post here! I'm kind of a noob in JS but I'm working to improve. So, I'm building this audio visualizer using vanilla JS. I still need to work on the CSS but I'm satisfied with it right now - It can decently visualize FFT data for a preloaded song (taken from Free Music Archive)
I now want to connect a streaming service like Spotify to the visualizer so that the music from the streaming service is visualized. But I'm not exactly sure how to go about doing that. I'm using the Web Audio API to analyze the sound.
I would really appreciate it if someone could provide some direction in going about this, thank you!
Note: Site DOES NOT work on mobile yet, sorry.
Spotify uses Encrypted Media Source Extensions (see Building Spotify's New Web Player) and I'm not sure if they openly let us access their protected music. Would be great if they do and anyone can find out how. Media Source Extensions is a good option for feeding encoded audio (Opus, MP3, etc) chunks to <audio> programmatically for the browser to decode them. I would consider investigating music services that provide free music like BandCamp or Soundcloud.
MSE container support varies by browser, and you can check with
MediaSource.isTypeSupported('audio/webm; codecs="opus"');
MediaSource.isTypeSupported('audio/aac; codecs="opus"');
MediaSource.isTypeSupported('audio/mp4; codecs="opus"');
I think you'd need to use something like the Spotify Web API.
A quick start guide can be found here:
https://developer.spotify.com/documentation/web-api/quick-start/
If you want an example, here is another open source project that seems to have done what you're trying to do:
https://github.com/jamescastells/jamescastells.github.io
i'm making a little web game for work, first time using Stencyl. No mobile support needed, it's a desktop only web game. Stencyl doesn't let me publish to HTML5 though, so I tried doing it old-school, exporting a .swf, but this isn't ideal either because of scalability & such. I'm no HTML wizzkid, so just looking if someone knows how to export to HTML from Stencyl, and otherwise an alternative. Many thanks, friends :)
I'm creating a service and want to implement a way for the users to easily record a video and upload it directly in the browser. I've looked into Wowza and red5. It would probably be easiest if the video would go straight to their server for perfomance. Does anyone have any experience with either one of them, or even more so, have any other alternatives that would work? I'm building the site in Django, but I'm somewhat afraid of hosting the whole service on my own service considering the performance.
Thanks.
Take a look at this article. It explains how to capture audio and video with HTML5 only. However, the browser support for this is horrible. The best and easiest way in my opinion is to make a own app with AS3 and PHP. It's fairly easy to do and gives you the best options for customization.
Building such app in AS3 (Flash) and using Wowza as a backend is simple enough.
I personally participated in such projects.
Is it possible to play a sound in my javascript game without using anything like flash or a HTML workaround?
When I searched google it gave me various plugins or ways of doing it with flash, but I'd like to do it with pure js, while being able to play many sounds parallel.
The HTML5 <audio> element has fairly decent support, and there's also an audio API (which allows advanced audio manipulation) lagging somewhat behind.
There's even a tutorial on using it in a JS game.
Are there any free audio players that I can use in my website? Are they customizable?
I've heard of Soundmanager 2. It's a flash based player with a javascript front-end.
Are there any other free players like that?
If you'd like something that doesn't require loading a Flash plugin, try jPlayer. It uses HTML 5 when the browser supports it.
I like this one. Simple to use and nice looking.