4

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

1

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.

| improve this answer | |
1

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.

| improve this answer | |
1

You may take a look at http://flowplayer.org/

JS API: http://flowplayer.org/docs/api.html

| improve this answer | |
0

Try Flowplayer. http://flowplayer.org/ It provides number of other support options as well like iOS & Android device support, skin customization, integration with Carousals, sharing on social sites etc.

JS API: http://flowplayer.org/docs/api.html

| improve this answer | |
  • Flowplayer has already been suggested in another answer. Once you have enough reputation then you can leave comments on other answers. ...Or you can edit other answers (even with 1 rep) if you have relevant additional information. – MrWhite Aug 18 '13 at 16:53
-2

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

| improve this answer | |
  • 1
    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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy