| HOW TO: Installing Streaming Audio and Video Support in Firefox/Seamonkey |
|
|
|
Posted by Robert Mauro - Wednesday, 30 April 2008
This "How To" Tutorial will show you how to use mPlayer as a plugin directly inside of Firefox, Seamonkey and PmW-Fx to play various streaming or online videos. Compiled from notes and instructions provided by Steve Wendt, Melf and Pete. HOW TO: Installing Streaming Audio and Video Support in Firefox/Seamonkey/PmW-Fx The related Forum Thread for this article can be found HERE. Contributors:
Installation instructions below assume a Mozilla based browser and mPlayer are properly installed and functioning.
A REXX script to assist you in the installation and setup of mPlayer is located in the Forums: Install mPlayer Much thanks to Jan-Erik (jep) for creating this script INSTALLATION PHASE 1: ( If you do NOT complete INSTALLATION PHASE 2, mPlayer runs using default settings - may not work on various system configurations or may work on less sites)
INSTALLATION PHASE 2:
TIPS AND TRICKS: Tip #2, Tip #6 and parts of Tip #3 and #4 do not apply to using the mPlayer Mozilla plugin but may be helpful for "normal" mPlayer use. 1 If you copy a TTF font to %HOME%\.mplayer\subfont.ttf, the OSD will be able to show text. The smallest one I had was Trebuc.TTF, and that works fine. (Basically, take a good quality TTF font, COPY it to your mPlayer directory and RENAME it to subfont.ttf) 2 MPlayer will make a playlist out of all the files on the command line; for example mplayer file1.mpg file2.mpg file3.mpg or mplayer file?.mpg or mplayer file*.wmv 3 You can define mouse buttons and keyboard keys to do lots of different things. Here's a sample %HOME%\.mplayer\input.conf: # Settings for User Control of mPlayer playback MOUSE_BTN2 vo_fullscreen PGUP pt_step -1 PGDWN pt_step 1 + volume 5 - volume -5 This sets: Mouse button 2 to toggle fullscreen PgUp/PgDwn to go forward and back through the playlist And ± to raise/lower the volume by 5%. 4 In addition to the mPlayer options above, any command-line options can also be specified in %HOME%\.mplayer\config; here's some useful ones you may wish to add: # Video Overlay Options and VIO Message Window Options really-quiet=yes This turns off most of the (verbose) messages, makes the transition between videos in the playlist smooth by keeping the video window open and fixed size (works best with fs=on), and sets the colorkey to a shade of black instead of the default bright green. Note that you don't want to use solid black (0x000000), as then any console windows or other black areas on your screen will then be transparent when over the video. Also note that color keying is relevant for overlays, so it probably doesn't do anything if you are using DIVE output. 5 As discussed previously, if you are getting jerkiness or lags in the video, but you have a fast connection, you should set/boost your cache and/or cache-min values. Note that this causes a delay before it starts playing video... 6 Update your config.sys file to make running mPlayer from the commandline easier. You can do this by adding mPlayer's directories to the PATH and LIBPATH directories in the config.sys file. For instance, if mPlayer is installed at D:\Apps\mPlayer, you would add these: TO THE LIBPATH STATEMENT: D:\Apps\mPlayer\CODECS;D:\Apps\mPlayer; TO THE PATH STATEMENT - BEFORE ANY WINOS2 ENTRIES: D:\Apps\mPlayer; Once this is done (and the machine is restarted), typing "mPlayer" from an OS/2 Window will launch mPlayer. If this is NOT done, and WinOS2 is installed, typing "mPlayer" (without it's full path location) will instead start WinOS2's Media Player - which is probably not what you want. Enjoy! If after you have completed these steps, you are still having problems with using mPlayer Mozilla Plugin, then please visit the OS/2 World Forum and view THIS THREAD . But, please note, mPlayer will not play every stream or format that you visit... some may require manually downloading (or using something like UnPlug for Firefox to download) and viewing locally. (0) Comments |
| Next > |
|---|
Main Menu
| Home |
| Annual Awards |
| Bounty System |
| Hosted pages |
| OS2 Forums |
| OS2 Petition |
| OS2 Library |
| OS2 Wiki |
| Sponsors |
| News Sections |
| FAQs |
User login
PayPal Donations
Copyright 2000-2008 OS2 World.Com





