summaryrefslogtreecommitdiff
path: root/Documentation/kde-flash.xml
blob: 0f2b17f98eccfb9c87eb899e639b733767d3ada0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/desktop/kde/kde-flash.xml,v 1.1 2008/10/26 11:14:57 scarabeus Exp $ -->

<guide link="/~lack/index.xml" lang="en">
<title>HowTo: Make Adobe's Flash player work with Konqueror</title>

<author title="Author">
	<mail link="lack"/>
</author>
<author title="Editor">
	<mail link="scarabeus" />
</author>

<abstract>
A guide for Gentoo users who want to use Adobe's flash player in Konqueror.
</abstract>

<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>

<version>1.0</version>
<date>2008-10-17</date>

<chapter>
<title>Steps</title>
<section>
<body>
<p>You can use kmplayer's XEmbed to run Adobe's flash player under Konqueror.
</p>
<p>
1. Install <b>media-video/kmplayer</b>, and ensure you have <b>USE="npp"
</b> set.  Make sure you have the proper version installed:</p>
<table>
	<tr><th>kde Version</th><th>kmplayer Version</th></tr>
	<tr><ti>3</ti><ti>>=media-video/kmplayer-0.10.0c</ti></tr>
	<tr><ti>4</ti><ti>>=media-video/kmplayer-0.11</ti></tr>
</table>
<p>
2. For amd64 machines, you will also need to install
<b>net-www/nspluginwrapper</b>
</p>
<p>
3. Run the following commands, depending on what arch you are running:</p>
<pre caption="x86">$ kwriteconfig --file kmplayerrc --group "application/x-shockwave-flash" --key player npp
$ kwriteconfig --file kmplayerrc --group "application/x-shockwave-flash" --key plugin /usr/lib/nsbrowser/plugins/libflashplayer.so</pre>
<pre caption="amd64">$ kwriteconfig --file kmplayerrc --group "application/x-shockwave-flash" --key player npp
$ kwriteconfig --file kmplayerrc --group "application/x-shockwave-flash" --key plugin /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so</pre>
<p>
4. Open Konqueror and click <b>Settings > Configure Konqueror</b>. In the
new window navigate to <b>File Associations</b> in the left-hand panel and
select <b>application/x-shockwave-flash</b>. Click the <b>Embedding</b>
tab and click <b>Add..</b>. Select <b>Embedded MPlayer for KDE</b> from the
new window. If it is not there then you may need to run <b>kbuildsycoca</b>
from a terminal. Close all the opened windows.
</p>
</body>
</section>
</chapter>

<chapter>
<title>Known Issues</title>
<section>
<body>
<p>Keyboard support is somewhat patchy, so some games may not function properly.
</p>
</body>
</section>
</chapter>
	
<chapter>
<title>Credits</title>
<section>
<body>
<p>Shamelessly adapted from
<uri>http://mikearthur.co.uk/2007/12/konqueror-with-latest-adobe-flash-howto/</uri>
.</p>
</body>
</section>
</chapter>
</guide>