Active2 years, 1 month ago
Thanks for visiting ElectriciansForums.net. We hope you find the information you are looking for. But if you don't manage to, please feel free to Register and ask a question yourself. You can delete your account at any time should you quickly find the answers to what you need.
- I use Mozilla Firefox 2.0.0.1 as internet browser, Mozilla tries to download the plugin x-mplayer2 but didn't find it, and I can't find it anywhere.
- Need to find and install 'application/x-mplayer 2) This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
We are using WMV videos on an internal site, and we are embedding them into web sites. This works quite well on Internet Explorer, but not on Firefox. I've found ways to make it work in Firefox, but then it stops working in Internet Explorer.
Type= Application/x-mplayer2
We do not want to use Silverlight just yet, especially since we cannot be sure that all clients will be running Windows XP with Windows Media Player installed.
Is there some sort of Universal Code that embeds WMP into both Internet Explorer and Firefox, or do we need to implement some user-agent-detection and deliver different HTML for different browsers?
Peter Featherstone5,75744 gold badges2424 silver badges5959 bronze badges
Michael Stum♦Michael Stum121k103103 gold badges369369 silver badges511511 bronze badges
9 Answers
The following works for me in Firefox and Internet Explorer:
Roman R.59.1k44 gold badges7171 silver badges119119 bronze badges
GrantGrant8,5121313 gold badges3737 silver badges4646 bronze badges
May I suggest the jQuery Media Plugin? Provides embed code for all kinds of video, not just WMV and does browser detection, keeping all that messy switch/case statements out of your templates.
Jake McGrawJake McGraw34.1k1010 gold badges4343 silver badges6262 bronze badges
Use the following. It works in Firefox and Internet Explorer.
And in JavaScript,
Peter Mortensen14.5k1919 gold badges8989 silver badges118118 bronze badges
nicolas
Elizabeth Castro has an interesting article on this problem: Bye Bye Embed. Worth a read on how she attacked this problem, as well as handling QuickTime content.
Jim NelsonJim Nelson1,37033 gold badges1313 silver badges2626 bronze badges
You could use conditional comments to get IE and Firefox to do different things
The browsers themselves will ignore code that isn't meant for them to read.
GrantGrant8,5121313 gold badges3737 silver badges4646 bronze badges
EDIT - March 20 2013. Interesting how these old questions resurface from time to time! How different the world is today and how dated this all seems. I would not recommend a Flash only route today by any means - best practice these days would probably be to use HTML 5 to embed H264 encoded video, with a Flash fallback as described here: http://diveintohtml5.info/video.html
PolsonbyPolsonby17k1919 gold badges5252 silver badges7373 bronze badges
Encoding flash video is actually very easy with ffmpeg. You can use one command to convert from just about any video format, ffmpeg is smart enough to figure the rest out, and it'll use every processor on your machine. Invoking it is easy:
Application X Mplayer2 Plugin
ffmpeg will guess at the bitrate you want, but if you'd like to specify one, you can use the -b option, so
-b 500000
is 500kbps for example. There's a ton of options of course, but I generally get good results without much tinkering. This is a good place to start if you're looking for more options: video options.You don't need a special web server to show flash video. I've done just fine by simply pushing .flv files up to a standard web server, and linking to them with a good swf player, like flowplayer.
WMVs are fine if you can be sure that all of your users will always use [a recent, up to date version of] Windows only, but even then, Flash is often a better fit for the web. The player is even extremely skinnable and can be controlled with javascript.
Peter BurnsPeter Burns36.5k77 gold badges3232 silver badges5454 bronze badges
I found a good article about using the WMP with Firefox on MSDN.
Based on MSDN's article and after doing some trials and errors, I found using JavaScript is better than using conditional comments or nested 'EMBED/OBJECT' tags.
I made a JS function that generate WMP object based on given arguments:
Then I used that function by writing some markups and inline JS like these:
You can use jQuery.ready instead of window load event to making the codes more backward-compatible and cross-browser.
I tested the codes over IE 9-10, Chrome 27, Firefox 21, Opera 12 and Safari 5, on Windows 7/8.
PerseusPerseus
I have found something that Actually works in both FireFox and IE, on Elizabeth Castro's site (thanks to the link on this site) - I have tried all other versions here, but could not make them work in both the browsers
Check her site out: http://www.alistapart.com/articles/byebyeembed/ and the version with the classid in the initial object tag
sth175k4444 gold badges252252 silver badges338338 bronze badges
VonzyVonzy
protected by Community♦Jan 16 '14 at 14:18
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged windowsembedmedia or ask your own question.
Developer(s) | MPlayer team |
---|---|
Initial release | 2000; 19 years ago |
Stable release | 1.4.0[1][2](April 18, 2019; 5 months ago)[±] |
Preview release | SVN snapshot [±] |
Repository | |
Written in | C |
Platform | Cross-platform |
Available in | English, Hungarian, Polish, Russian and Spanish |
Type | Media player |
License | GNU GPLv2[3] |
Website | mplayerhq.hu |
MPlayer is a free and open-sourcemedia player software. It is available for Linux, OS X and Microsoft Windows. Versions for OS/2, Syllable, AmigaOS, MorphOS and AROS Research Operating System are also available. A port for DOS using DJGPP is also available.[4] Versions for the WiiHomebrew Channel[5] and Amazon Kindle[6] have also been developed.
- 4Media formats
History[edit]
Development of MPlayer began in 2000. The original author, Hungarian Árpád Gereöffy, started the project because he was unable to find any satisfactory video players for Linux after XAnim stopped development in 1999.[7] The first version was titled mpg12play v0.1 and was hacked together in a half-hour using libmpeg3 from www.heroinewarrior.com. After mpg12play v0.95pre5, the code was merged with an AVI player based on avifile's Win32DLL loader to form MPlayer v0.3 in November 2000.[8] Gereöffy was soon joined by many other programmers, in the beginning mostly from Hungary, but later worldwide.
Alex Beregszászi has maintained MPlayer since 2003 when Gereöffy left MPlayer development to begin work on a second generation MPlayer. The MPlayer G2 project was abandoned, and all the development effort was put on MPlayer 1.0.[9]
MPlayer was previously called 'MPlayer - The Movie Player for Linux' by its developers but this was later shortened to 'MPlayer - The Movie Player' after it became commonly used on other operating systems.
Video acceleration[edit]
There are various SIP blocks that can accelerate video decoding computation in several formats, including PureVideo, UVD, QuickSync Video, TI Ducati and others.
Capabilities and classification[edit]
MPlayer can play a wide variety of media formats,[10] namely any format supported by FFmpeg libraries, and can also save all streamed content to a file locally.
A companion program, called MEncoder, can take an input stream, file or a sequence of picture files, and transcode it into several different output formats, optionally applying various transforms along the way.
Media formats[edit]
MPlayer being run via command line in Microsoft Windows.
MPlayer can play many formats, including:[11]
- Physical media: CDs, DVDs, Video CDs, Blu-ray discs
- Container formats: 3GP, AVI, ASF, FLV, Matroska, MOV (QuickTime), MP4, NUT, Ogg, OGM, RealMedia, Bink
- Video formats: Cinepak, DV, H.263, H.264/MPEG-4 AVC, HuffYUV, Indeo, MJPEG, MPEG-1, MPEG-2, MPEG-4 Part 2, RealVideo, Sorenson, Theora, WMV, Bink
- Audio formats: AAC, AC3, ALAC, AMR, DTS, FLAC, Intel Music Coder, Monkey's Audio, MP3, Musepack, RealAudio, Shorten, Speex, Vorbis, WMA, Bink
- Subtitle formats: AQTitle, ASS/SSA, CC, JACOsub, MicroDVD, MPsub, OGM, PJS, RT, Sami, SRT, SubViewer, VOBsub, VPlayer
- Image formats: BMP, JPEG, MNG, PCX, PTX, TGA, TIFF, SGI, Sun Raster
- Protocols: RTP, RTSP, HTTP, FTP, MMS, Netstream (mpst://), SMB, ffmpeg:// (Uses FFmpeg's protocol implementations)
MPlayer can also use a variety of output driver protocols to display video, including VDPAU, the X video extension, OpenGL, DirectX, Direct3D, Quartz Compositor, VESA, Framebuffer, SDL and rarer ones such as ASCII art (using AAlib and libcaca) and Blinkenlights. It can also be used to display TV from a TV card using the device tv://channel, or play and capture radio channels via radio://channel|frequency.
Since version 1.0RC1, Mplayer can decode subtitles in ASS/SSA subtitle format, using libass.
Available plugins[edit]
- XMMS plugins
Interface and graphical front-ends[edit]
Gnome-MPlayer v1.0.9 on GNOME
Like GStreamer, MPlayer has only command line interface and there are a couple of front-ends available, which use GUI widgets of GTK, Qt or some other widget library. When not using these front-ends, mplayer can still display video in a window (with no visible controls on it), and is controlled using a keyboard.
Application/x-mplayer2 Chrome Download
- GTK-based are gmplayer (official)[12][13] and Gnome-MPlayer
- Qt-based are SMPlayer and KMPlayer, among others.
- Cocoa-based are MPlayer OS X Extended and MPlayerX[14]
Forks[edit]
mplayer2 was a GPLv3-licensed fork of MPlayer, largely the work of Uoti Urpala, who was excluded from the MPlayer project in May 2010 due to 'long standing differences' with the MPlayer Team.[15] The main changes from MPlayer were improved pause handling, Matroska support, seeking, and support for Nvidia VDPAU; enabling multithreading by default; and the removal of MEncoder, the GUI interface, and various video drivers and bundled libraries, such as ffmpeg, relying instead on shared libraries.[16][17] The developers also indicated intentions to enable MPlayer2 to use libav as an alternative to ffmpeg.[18] The first release, 2.0, was published in March 2011. There have been no subsequent stable releases.
mpv[19] is a GPLv2-licensed fork of mplayer2 and effectively its successor. Since June 2015, mpv starts the work to relicense as LGPLv2.1 or above.[20]
MPlayer, MPlayer2 and mpv all use incompatible EDL formats.[21][22][23]
Legal controversy[edit]
In January 2004, the MPlayer website was updated with an allegation that the Danish DVD player manufacturer, Kiss Technology, were marketing DVD players with firmware that included parts of MPlayer's GPL-licensed code. The implication was that Kiss was violating the GPL, since Kiss did not release its firmware under the GPL license. The response from the managing director of Kiss, Peter Wilmar Christensen, countered that the similarities between the two pieces of code indicate that the MPlayer team had in fact used code from Kiss's firmware.[24] However, the Kiss DVD player, released in 2003, used a subtitle file format that is specific to MPlayer, which was designed by an MPlayer developer in 2001.[24]
See also[edit]
References[edit]
- ^http://mplayerhq.hu/design7/dload.html
- ^http://mplayerhq.hu/design7/news.html
- ^http://mplayerhq.hu/design7/info.html
- ^'Index of /pub/micro/pc-stuff/freedos/files/util/user/mplayer'. Ibiblio.org. Retrieved 2012-01-01.
- ^Erant. 'libdi and the DVDX installer'. Hackmii.com. Retrieved 2012-01-01.
- ^'kindlebrew'. Gitorious. Archived from the original on 2012-04-07. Retrieved 2012-01-01.
- ^'The XAnim Home Page'. Xanim.polter.net. Retrieved 2012-01-01.
- ^History
- ^'MPlayer - The Movie Player'. Retrieved 2012-06-24.
- ^'Codec Status Table'. Mplayerhq.hu. Retrieved 2012-01-01.
- ^'MPlayer Features'. Mplayerhq.hu. Retrieved 2012-01-01.
- ^'README'. Retrieved 2016-03-19.
- ^'What about the GUI?'. Retrieved 2016-03-19.
- ^'MPlayer OSX Extended'. 2011-12-09. Retrieved 2015-01-23.
- ^'Is MPlayer2 a viable fork of MPlayer?'. Phoronix. 2011-03-24. Retrieved 2014-04-18.
- ^'mplayer2 differences from mplayer'. 2011. Archived from the original on May 4, 2012. Retrieved May 4, 2015.
- ^'Did You Know there was a Fork of MPlayer?'. ostatic.com. 2011-03-22. Retrieved 2011-11-29.
- ^'Libav going to be default provider for your codec experience (comment)'. January 16, 2013.
- ^'mpv.io'. Retrieved 2015-01-28.
- ^'Possible LGPL relicensing'. Retrieved 2016-09-27.
- ^'3.7. Edit Decision Lists (EDL)'. Archived from the original on 2015-07-17. Retrieved 21 Jul 2015.
- ^'EDL: add support for new EDL file format'. MPlayer2. Archived from the original on 16 Mar 2014.
- ^'EDL files'. mpv. 25 Oct 2014. Retrieved 21 Jul 2015.
- ^ ab'MPlayer - The Movie Player'. 2004-01-10. Retrieved 2012-06-24.
External links[edit]
Wikimedia Commons has media related to MPlayer. |
Wikibooks has more on the topic of: MPlayer |
Retrieved from 'https://en.wikipedia.org/w/index.php?title=MPlayer&oldid=916918110'