Play mms:// streams on my site - javascript

I'm building a "channel chooser" for a set of mms:// streams (Microsoft Media Server): a simple web GUI that lets the user chose which channel to listen to. For reference, here is the list of streams I'd like to use. I would like users to be able to play those streams on my site with a simple "play/stop" control. Nothing fancy.
How should I attack this? Any ideas or pointers appreciated! New angles and hacks around the problem too.
Javascript or Flash players are of course preferable, but I haven't been able to find any player that plays mms:// streams. My back-end language is Django if that helps anyone get any ideas.

MMS will require the user to have Windows Media Player installed. I believe you can embed mms:// content directly in an HTML page using <object> and/or <embed> tags and if it's installed, the WMP browser plugin will play the content.
Here's an Embedded Media HTML Generator; enter your mms:// url here and use the generated HTML in your video player page template.

Related

Running External Application( vlc player, text doc, .exe) using HTML and JS

How do i open a music file or a video file in VLC player or Window Media player by clicking a button on a webpage writter in HTML and JS.
This is not possible because it is managed by the client system. But... you could create a "pseudo protocol" in your system registry and assign it the VLC player.
For pseudo protocol I mean something like magnet torrent. ( magnet:?somedata )
Your pseudo protocol could be startvlc:yourdata.
Keep in mind that this operation must be done on all systems where you want to run your application.

How to disable video/audio downloading in web pages?

I have a website that I put my videos/audios on it.
I use HTML5 and tag to show videos.
But videos/audios can be downloaded if client opens view source page and then copy the file address.
How can I disable downloading these files, I just want client to see videos/hear audios in the web page.
Many online video/audio services like Youtube disabled downloading videos by this way. How they did that? What is a working way to disable, or at least make this progress much harder?
Youtube encodes their video into the MPEG-DASH format, which plays back through byte streams via the browser's implementation of the Media Source Extensions API. See See more on Wikipedia.
You can do the same by encoding your video into MPEG-DASH files, then playing it back in your code through a library like dash.js. Watch how the dash.js player works live by checking out the DASH Reference Client.
I've encoded MPEG-DASH video using Sorenson Squeeze, but there are other encoders you could use.
And just to clarify... this will make downloading more difficult... but will NOT provide a real DRM solution. For that you need to check out EME.
MPEG-DASH seems like a nice solution but is definitely not perfect. There are many ways to bypass this and still being able to download the video. On the other hand putting a lot of effort in protection might not be worth it since people can always make screen recordings etc.
But if you still want to go for a more secure option you can try using
Encrypted Media Extensions i.e. with Amazon s3 cloud.

Making an HTML5 Video Playlist for Chromecast with Javascript

I'm pretty new with Javascript but know it's capable of some amazing things. I recently got a Chromecast. Among other things it allows me to cast/stream any video or webpage to my TV when I click the Chromecast extension.
So, for example, I can load a video in my browser just by browsing to the file with the url like so: file://localhost/Users/username/Downloads/workaholics.s03e14.hdtv.x264-2hd.mp4. And when I click the Chromecast extension it plays on my TV.
I'd like to know if it's possible to create a playlist somehow for videos to be played this way. But I've read that, for security reasons, Javascript will not supply the path to a file, only the name. I was planning on letting a user browse through or drag and drop files to a playlist, and somehow play them back-to-back. I can't seem to figure out how to implement this. I was planning on getting the full paths to the videos added to the playlist and looping through them to play, but getting the full path is apparently not possible. If this is only run locally, with my local files, is there a workaround for something like this? Or anybody have other ideas?

how to play mp3 in a web page

I'm going to play MP3 in my ASP.NET web app (VS 2008), I want user to have a nice GUI for play/pause/stop and selecting different musics. Is there any way to start playing music automatically at site start up? Of course music should not be restarted after a new page is being loaded, is there any way I can control music via server side code?
thanks, I've tested many players but I think I need more sources
Music media can be played using HTML5 or Flash. These are front-end technologies. You can, of course, 'fetch' urls and files using back-end asp.net code.
There are a few javascript libraries out there that will determine if a user has an HTML5 browser and if not, use Flash as a backup.
One of them I like to use is called jPlayer, for jQuery.
http://jplayer.org/
You can use this Server Control or you cane check these resources

How can I allow visitors to embed audio files hosted on my server on their websites?

I've seen text boxes on websites where you can copy a script and paste it onto a webpage and it will embed an audio player into a remote website. I have some songs hosted on my server and would like other people to play them remotely from an audio player they can embed into their website. Where can I learn how to do this?
For greatest compatibility for the time being, you'll need to embed some Flash.
But keep in mind the audio element.

Categories