how do i get firefox to play videos via mplayer plugin - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html) +--- Forum: Fedora (https://www.linux-noob.com/forums/forum-94.html) +---- Forum: Fedora Core Release 6 (https://www.linux-noob.com/forums/forum-44.html) +---- Thread: how do i get firefox to play videos via mplayer plugin (/thread-1679.html) Pages:
1
2
|
how do i get firefox to play videos via mplayer plugin - anyweb - 2006-12-16 hi guys, i'd like my media to play in mplayer instead of totem. when i click on some (usually mms or windows video links) totem starts and then complains that it can't play the file. if i run the file via cli (the terminal) as below, then it works fine in mplayer Quote:[anyweb@localhost ~]$ mplayer mms://a1441.v165327.c16532.g.vm.akamaistream.net/7/1441/16532/v0001/nhl.download.akamai.com/16532/wm.nhl.na-central/comp/best_of/07/bestof_theweek_vol_7_700.wmvMPlayer 1.0rc1-rpm.livna.org-4.1.1 © 2000-2006 MPlayer Team so my question is, how can I force firefox to use mplayer instead of totem for these files ? cheers anyweb how do i get firefox to play videos via mplayer plugin - znx - 2006-12-17 Well, I don't know how to add it to mplayer-plugin but it's easy enough to setup firefox to magically open mplayer when it sees that protocol. <ol style="list-style-type:decimal;">[*]Open about:config [*]In the filter field type network.protocol-handler [*]Right click and select New > String if you don't see network.protocol-handler.app.mms. Once you have the entry setup the path to be the full path to mplayer (something like /usr/bin/mplayer). [*]Right click and select New > Boolean if you don't see network.protocol-handler.external.mms. Set that entry to be true. [*]Restart firefox. [*]Type in the stream URL into the address bar, firefox will indicate that you are opening an external program, check the box and click on launch. </ol>That's it, now when encountered firefox will open mplayer for all the mms:// protocols. You can use a similar method to have firefox open lots of different applications for various different protocols (say mailto: opening your preferred mail client, etc). how do i get firefox to play videos via mplayer plugin - jsn06 - 2006-12-17 Or , if you want Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox yum -y install mplayerplug-in johnny06 how do i get firefox to play videos via mplayer plugin - anyweb - 2006-12-17 i have the mplayer plugin loaded already as per the fedora core release 6 goodies post, however firefox still defaults to playing certain videos in totem, i'll try what znx suggested later and post the results here cheers anyweb how do i get firefox to play videos via mplayer plugin - znx - 2006-12-17 Quote:Or , if you want Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox Sorry to say but the mplayer plugin doesn't add support for the mms:// protocol. how do i get firefox to play videos via mplayer plugin - anyweb - 2006-12-17 well what (if anything) does add support for it ? I tried the suggestions above (editing about:config) and while it plays the original link that i did via cmd line before, now when i click on a video link in bbc's newsite., i get another totem error why ? <a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_12_2006/post-1-1166380544.png" data-fileid="737">[img]<fileStore.core_Attachment>/monthly_12_2006/post-1-1166380544.png[/img]</a> <a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_12_2006/post-1-1166380549.png" data-fileid="738">[img]<fileStore.core_Attachment>/monthly_12_2006/post-1-1166380549.png[/img]</a> how do i get firefox to play videos via mplayer plugin - znx - 2006-12-17 Hrmm, well I guess that Gnome is somehow overriding the default within firefox :( Try this: Code: $ gconftool-2 -t string -s /desktop/gnome/url-handlers/mms/command "/usr/bin/mplayer %s" This adds support for the protocol at the Gnome level, rather than the firefox level. how do i get firefox to play videos via mplayer plugin - anyweb - 2006-12-17 ok fixed it by doing this (as root) Code: [root@localhost ~]# yum -y remove totem in the screenshot below the black box is actually video from bbc news's website, for some reason taking a screenshot of it doesnt show the 'video' but it works now so thanks all cheers anyweb <a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_12_2006/post-1-1166381900.png" data-fileid="739">[img]<fileStore.core_Attachment>/monthly_12_2006/post-1-1166381900.png[/img]</a> how do i get firefox to play videos via mplayer plugin - DanBE - 2007-01-10 Quote:Well, I don't know how to add it to mplayer-plugin but it's easy enough to setup firefox to magically open mplayer when it sees that protocol.<ol style="list-style-type:decimal;">[*]Open about:config Hello, This setup doesn't work for me... Click on the icon of a video file -> Open: x.wmv from www.y.com File of type: video Microsoft ASF Open with: Totem (default)... no other choice TIa for any further suggestion DanBE Linux/Mandriva 2006/KDE/Firefox how do i get firefox to play videos via mplayer plugin - znx - 2007-01-10 Quote:This setup doesn't work for me... Well see the protocol handler's are for streaming data therefore it expects something like: mms://some/url/here/file.wmv Most likely you have a: [/url]http://some/url/here/file.wmv So what I will suggest you try installing the mplayer plugin for firefox (and removing totem!). to add the mplayer plugin see this post (scroll down to point 4.) [url=<___base_url___>/index.php?showtopic=2533][/url][url=<___base_url___>/index.php?showtopic=2533]https://www.linux-noob.com/forums/index.php?showtopic=2533 |