ROSA Media Player plugin + Linterna Mágica
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
ROSA Media Player plugin is a new MPlayer/SMPlayer based video plugin which integrates very nicely with Linterna Mágica in all the browsers which Linterna Mágica supports (Mozilla based, Epiphany and Midori). The plugin can be installed on Trisquel 5.0 and on Parabola. The plugin can be used without installing ROSA Media Player (of course the "open video in ROSA Media Player" dialog will not work if the player isn't installed). A few screenshots are attached:
Pièce jointe | Taille |
---|---|
ROSA_Media_Player_plugin_Midori.png | 386.92 Ko |
ROSA_Media_Player_plugin_full_screen.png | 373.1 Ko |
ROSA_Media_Player.png | 201.61 Ko |
ROSA_Media_Player_about.png | 33.85 Ko |
I made two scripts (based on the Arch PKGBUILDs) to install the player and the plugin for those interested. You will need libqt4-dev and build-essential as the scripts download the source and compile it.
Just copy these two parts into rosa-player.sh and rosa-plugin.sh respectively, run "chmod +x rosa-player.sh" and "chmod +x rosa-plugin.sh" and then run with "sudo ./rosa-player.sh" and "sudo ./rosa-plugin.sh"
rosa-plugin.sh
#! /bin/sh
pkgname=rosa-media-player-plugin
pkgver=0.951
source=http://svn.mandriva.com/svn/packages/cooker/rosa-media-player-plugin/current/SOURCES/${pkgname}-${pkgver}.tar.gz
wget ${source}
tar xvzf ${pkgname}-${pkgver}.tar.gz
cd rosa-media-player
qmake rosampcore.pro
make
cd ../rosamp-plugin
for pro in *.pro; do
qmake ${pro}
make
done
lrelease rosamp-plugin-qt.pro
cd ..
mkdir -p /usr/lib/mozilla/plugins/translations/
cp -f rosa-media-player/build/librosampcore.so.1.0.0 /usr/lib/
cp -f rosamp-plugin/build/librosa-media-player-plugin-*.so /usr/lib/mozilla/plugins/
cp -f rosamp-plugin/translations/*.qm /usr/lib/mozilla/plugins/translations/
cd /usr/lib
ln -s librosampcore.so.1.0.0 librosampcore.so.1.0
ln -s librosampcore.so.1.0.0 librosampcore.so.1
ln -s librosampcore.so.1.0.0 librosampcore.so
rosa-player.sh
#! /bin/sh
pkgname=rosa-media-player
pkgver=0.991
source=http://svn.mandriva.com/svn/packages/cooker/rosa-media-player/current/SOURCES/${pkgname}-${pkgver}.tar.bz2
wget ${source}
tar xvjf ${pkgname}-${pkgver}.tar.bz2
cd ${pkgname}-${pkgver}
make
make install
Thanks for sharing. I'll see if the browser plugin has an API, that can be
used with Linterna Mágica, so the player can be controlled from JavaScript
and the controls can be hidden. If it does I'll support it. Otherwise users
have to configure Linterna Mágica to use the controls of the plugin -
work-around for the duplication of buttons.
ivaylo, thank you for all your efforts.
The reason I am not using Totem's Mozilla plugin despite the fact that it works in Epiphany, Midori and in Mozilla based browsers is because the full screen controls are dreadful (and because MPlayer works better with my graphics card). The URL of the video covers most of the bottom region in full screen mode so I can not seek on my netbook (see this screenshot). ROSA's controls are much better in full screen mode and it works in all the browsers Linterna Mágica supports (unlike Gecko Media Player which only works with Mozilla based browsers).
Ughm. It wasn't me. I just used the web interface/forum here. Via e-mail I
received only the second of your posts and decided it lack the whole context,
so I replied from the forum.
В 11:10 +0200 на 12.04.2012 (чт), name at domain написа:
> ivayo, thank you for all your efforts.
>
I've had a quick view of code of the ROSA plugin, but so far I had no
luck finding anything about controlling buttons and playback from
JavaScript. Might not work as I wanted without cooperation with the ROSA
plugin developers. I guess adding a JavaScript API won't be a small
effort, so they might not agree. Will see.
> The reason I am not using Totem's Mozilla plugin despite the fact that it
> works in Epiphany, Midori and in Mozilla based browsers is because the full
> screen controls are dreadful.
You don't have to use Totem plugin. That's the beauty of it. :) You can
use any browser video plugin that can handle the mime types and suits
you. There is just the issue of the duplicated controls with the default
configuration of Linterna Mágica and the plugins for which APIs are not
yet supported.
> (unlike Gecko Media Player which only works with Mozilla based browsers).
Really? I have a memory that it used to work with Epiphany at some
point.
Really? I have a memory that it used to work with Epiphany at some
point.
It doesn't anymore as you confirmed in this thread.
Also, Xine plugin works as well but I couldn't manage to watch the video in fullscreen or seek. How is this achieved?
Really? I have a memory that it used to work with Epiphany at some
point.
It doesn't anymore as you confirmed in this thread
Thanks for sharing. I'll see if the browser plugin has an API, that can be used with Linterna Mágica, so the player can be controlled from JavaScript and the controls can be hidden. If it does I'll support it. Otherwise users have to configure Linterna Mágica to use the controls of the plugin - work-around for the duplication of buttons.
*DOUBLE POST*
Ughm. It wasn't me. I just used the web interface/forum here. Via e-mail I received only the second of your posts and decided it lack the whole context, so I replied from the forum.
- Vous devez vous identifier ou créer un compte pour écrire des commentaires