Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Is there a JavaScript API for streaming WMV/AVI/MOV files?

share|improve this question

4 Answers

You can achieve this with no JavaScript; just use the solution described here: http://www.ozzu.com/website-design-forum/embedded-windows-media-player-t70151.html. Basically you'd create an ASX playlist file pointing to your media, then set the URL of the OBJECT tag's PARAM to the ASX file.

Note that WMV might require an additional plugin for Firefox and other browsers.

share|improve this answer

JW Player is an open source video / audio player for the Web. It supports playback of any format the Adobe Flash Player and HTML5 browsers can handle (FLV, H.264, MP4, VP8, WebM, MP3, AAC, JPG, PNG and GIF). It also supports various streaming and playlist formats (including RMTP, HTTP, live streaming and more) and a wide range of playback options.

It has a JS API.

share|improve this answer

try this hope it helps http://www.pcurtis.com/media.htm

share|improve this answer
That page is super old. You shouldn't be using embed for embedding videos anymore. You can now do it with just the object element. – Lèse majesté Nov 18 '10 at 6:24
thanks for the update – Kumod Shah Nov 18 '10 at 8:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.