Difference between revisions of "Moonlight"

From ArchWiki
Jump to: navigation, search
(Tips & Tricks)
(23 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category: Audio/Video (English)]]
+
[[Category:Audio/Video]]
{{i18n_links_start}}
+
[[es:Moonlight]]
{{i18n_entry|English|Moonlight}}
+
[[zh-CN:Moonlight]]
{{i18n_entry|简体中文|Moonlight(简体中文)}}
+
Moonlight was a free and open source implementation of [http://silverlight.net/ Silverlight], primarily for Linux and other Unix/X11 based operating systems. Moonlight 1.0 was released on January 20, 2009 and 2.0 on December 17, 2009. The preview release of Moonlight 4.0 was released in early 2011.
{{i18n_entry|Español|Moonlight_(Español)}}
+
{{i18n_links_end}}
+
  
Moonlight is a free and open source implementation of [http://silverlight.net/ Silverlight], primarily for Linux and other Unix/X11 based operating systems. Moonlight 1.0 was released on January 20 2009 and Moonlight 2 is currently under development.
+
{{Note|Since 2011 the project has been discontinued (from [[Wikipedia:Moonlight (runtime)|Wikipedia]]):<br>
 +
''"In December 2011 Miguel de Icaza announced that work on Moonlight had stopped with no future plans. He explained that, although there was always some bloat, complication and over-engineering in the Silverlight vision, Microsoft had "cut the air supply" to it by omitting cross-platform components, making it a web-only plugin, and including Windows-only features. He advised developers to separate user interface code from the rest of their application development to ensure "a great UI experience on every platform (Mac, Linux, Android, iOS, Windows and Web)" without being dependent on third party APIs."''}}
  
Moonlight is also usable in others browsers aside of Firefox, as a Gtk+ widget.
+
== Installation ==
 +
=== Mozilla Firefox ===
 +
There are two options for installing Moonlight in Firefox.
  
=Installing Moonlight=
+
'''From the [[AUR]]:''' Install the {{AUR|firefox-moonlight}} package.
Moonlight is available in community repository, for installing:
+
  pacman -S moonlight
+
  
If you want to try  Moonlight after the installation, visit this web:
+
'''Manually:''' Go to the [http://www.go-mono.com/moonlight/download.aspx download page] of the Moonlight website and download and install the {{ic|.xpi}} file.
[http://go-mono.com/moonlight/MoonlightStatus.aspx?v=2 Moonlight 2.0 test sites]
+
 
 +
=== Google Chrome ===
 +
'''From the AUR:''' Install the {{AUR|google-chrome-extension-moonlight}} package.
 +
 
 +
'''Manually:'''
 +
Installing extensions from outside the [https://chrome.google.com/webstore/category/home Chrome Web Store] is a [http://support.google.com/chrome_webstore/bin/answer.py?hl=en&answer=2664769 hidden] since Chrome v21.
 +
# Download the [http://www.go-mono.com/moonlight/download.aspx Moonlight package] for Chrome.
 +
# Make sure no page is currently opened inside Chrome that is trying to load Silverlight/Moonlight.
 +
# Go to the extensions page.
 +
# Enable "Developer mode" (top right).
 +
# Now drag and drop the extension file to the extensions page.
 +
# You can turn off "Developer mode" if you wish.
 +
 
 +
{{Tip|[http://mokeke.sytes.net/downloads/linux/Novell_Moonlight/ An alternative download link], in case the [http://www.go-mono.com/moonlight/ Moonlight web site] isn't responding.}}
 +
 
 +
==Tips & Tricks==
 +
You may trick the Moonlight plugin to play supposedly unsupported content by editing the version number in {{ic|libmoonpluginxpi.so}}.
 +
 
 +
For Google Chrome:
 +
sed -i 's/4.0.51204.0/4.0.60831.0/g' ~/.config/google-chrome/Default/Extensions/ldjmcjaammmjjilbjpacphekcgfnmdlk/3.99.0.3_?/moonlight/libmoonpluginxpi.so
 +
For Mozilla Firefox:
 +
sed -i 's/4.0.51204.0/4.0.60831.0/g' ~/.mozilla/firefox/'''$(sed -n 's/^Path=//p' ~/.mozilla/firefox/profiles.ini)'''/extensions/moonlight@novell.com/plugins/moonlight/libmoonpluginxpi.so
 +
The command '''{{ic|1=$(sed -n 's/^Path=//p' ~/.mozilla/firefox/profiles.ini)}}''' finds out the default profile as stated in {{ic|1=~/.mozilla/firefox/profiles.ini}}.
 +
{{Note|DRM protected content is not supported.}}
  
 
== Resources ==
 
== Resources ==
 
* [http://www.mono-project.com/Moonlight Moonlight Project]
 
* [http://www.mono-project.com/Moonlight Moonlight Project]
 
* [http://www.go-mono.com/moonlight/ Get Moonlight]
 
* [http://www.go-mono.com/moonlight/ Get Moonlight]

Revision as of 23:55, 2 April 2013

Moonlight was a free and open source implementation of Silverlight, primarily for Linux and other Unix/X11 based operating systems. Moonlight 1.0 was released on January 20, 2009 and 2.0 on December 17, 2009. The preview release of Moonlight 4.0 was released in early 2011.

Note: Since 2011 the project has been discontinued (from Wikipedia):
"In December 2011 Miguel de Icaza announced that work on Moonlight had stopped with no future plans. He explained that, although there was always some bloat, complication and over-engineering in the Silverlight vision, Microsoft had "cut the air supply" to it by omitting cross-platform components, making it a web-only plugin, and including Windows-only features. He advised developers to separate user interface code from the rest of their application development to ensure "a great UI experience on every platform (Mac, Linux, Android, iOS, Windows and Web)" without being dependent on third party APIs."

Installation

Mozilla Firefox

There are two options for installing Moonlight in Firefox.

From the AUR: Install the firefox-moonlightAUR package.

Manually: Go to the download page of the Moonlight website and download and install the .xpi file.

Google Chrome

From the AUR: Install the google-chrome-extension-moonlightAUR package.

Manually: Installing extensions from outside the Chrome Web Store is a hidden since Chrome v21.

  1. Download the Moonlight package for Chrome.
  2. Make sure no page is currently opened inside Chrome that is trying to load Silverlight/Moonlight.
  3. Go to the extensions page.
  4. Enable "Developer mode" (top right).
  5. Now drag and drop the extension file to the extensions page.
  6. You can turn off "Developer mode" if you wish.
Tip: An alternative download link, in case the Moonlight web site isn't responding.

Tips & Tricks

You may trick the Moonlight plugin to play supposedly unsupported content by editing the version number in libmoonpluginxpi.so.

For Google Chrome:

sed -i 's/4.0.51204.0/4.0.60831.0/g' ~/.config/google-chrome/Default/Extensions/ldjmcjaammmjjilbjpacphekcgfnmdlk/3.99.0.3_?/moonlight/libmoonpluginxpi.so

For Mozilla Firefox:

sed -i 's/4.0.51204.0/4.0.60831.0/g' ~/.mozilla/firefox/$(sed -n 's/^Path=//p' ~/.mozilla/firefox/profiles.ini)/extensions/moonlight@novell.com/plugins/moonlight/libmoonpluginxpi.so

The command $(sed -n 's/^Path=//p' ~/.mozilla/firefox/profiles.ini) finds out the default profile as stated in ~/.mozilla/firefox/profiles.ini.

Note: DRM protected content is not supported.

Resources