Skip to content

Commit ee8a111

Browse files
author
goker cebeci
committed
development
1 parent d0f8019 commit ee8a111

13 files changed

+1295
-626
lines changed

LICENCE

+668-159
Large diffs are not rendered by default.

README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
f4Player is an open source flash (AS3) video player and library project. It is so small that it is only 13kb and totally free under LGPL license.
1+
f4Player is an open source flash (AS3) video player and library project. It is so small that it is only 13kb and totally free under GPLv3 license.
22

33
A few years ago I wanted to play a video (flv) on my webpage and I developed a realy small and simple flv player for this. In time technology gradually advanced and flash player started to support h.264 codec, videos were not limited to FLV and f4Player would play HD videos. So I continued to develop f4Player. Who knows! It may display subtitles soon.
44

index.html

+86-73
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,28 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<title>f4Player v1.3</title>
5+
<title>f4Player v1.3.5</title>
66
<meta name="description" content="Free, Small, Quick, Customizable and the Bestest FLV Player on Internet!" />
77
<meta name="keywords" content="f4player, flash, video, player, flv player, f4v player, mp4 player" />
88
<link type="text/plain" rel="author" href="http://gokercebeci.com/humans.txt" />
99
<link rel="shortcut icon" href="http://gokercebeci.com/favicon.ico" type="image/x-icon" />
1010
<style>
1111
body { margin: 0; padding: 0; color:#333; font: normal 13px/1.264 sans-serif; }
12+
img { border:0 }
13+
.clearfix { clear:both; }
1214
#devcontainer { margin: 20px auto; padding: 0 10px; width: 940px; }
13-
.codeblock {
14-
margin: 5px 0;
15-
padding:10px;
16-
color: #ddd;
17-
border: 2px solid #000;
15+
pre, code {
16+
display: block;
17+
padding: 10px;
18+
color: #eee;
19+
border: 1px solid #222;
1820
background: #333;
21+
font-family: monospace, monospace;
22+
_font-family: 'courier new', monospace;
23+
font-size: 1em;
1924
}
20-
.codeblock p{padding-top:10px; }
21-
h1 { color: #b11; text-align: center; }
22-
pre { margin:0; padding:0; }
23-
#area { float:left; width: 460px; }
24-
.desc { float:right; width: 460px; }
25+
#area { float:left; width: 480px; }
26+
.desc { float:right; width: 440px; }
2527
.signature a { color:#555; text-decoration:none; }
2628
.signature img { margin-right:5px; vertical-align: middle; }
2729
</style>
@@ -33,26 +35,49 @@ <h1>** DO NOT WORK ON LOCAL MACHINE!! FLASH SECURITY POLICY.</h1>
3335
<div id="devcontainer">
3436
<!-- development area -->
3537

36-
<!-- DESCRIPTION -->
37-
<div class="desc">
38-
<p>
39-
<b>f4Player</b> is an open source flash (AS3) <b>video</b>/<b>stream</b> player and library project. It is so small that it is only 13kb and totally free under LGPL license.</p>
40-
<p>I'm still developing it for <b>HTML5</b> support and <b>JS interface</b>.</p>
41-
<p>I've only tested it with <b>flv</b>, <b>f4v</b>, <b>mp4</b>, <b>stream</b>, <b>live stream</b>, <b>subscribed CDN</b> and it works enough for me for now!</p>
42-
<p>It is under <a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a> License.</p>
43-
<p class="signature"><a href="http://gokercebeci.com/dev/" title="developer">
44-
<img src="http://geticon.org/of/gokercebeci.com" alt="developer" />
45-
goker.cebeci, the developer</a></p>
46-
<p class="signature"><a href="https://github.com/gokercebeci/f4player">
47-
<img src="http://geticon.org/of/github.com" alt="github" />
48-
download or fork it on github</a></p>
49-
<br/>
50-
<h3>USAGE</h3>
51-
<div class="codeblock">
52-
<code>
53-
54-
&lt;object id="f4Player" width="460" height="260" type="application/x-shockwave-flash" data="player.swf?v1.3"&gt; <br/>
55-
&nbsp; &lt;param name="movie" value="player.swf?v1.3" /&gt; <br/>
38+
<!-- SAMPLE -->
39+
<section>
40+
<h2>SAMPLE</h2>
41+
<!-- DESCRIPTION -->
42+
<div class="desc">
43+
<h1>f4Player v1.3.5 "COMING SOON!!!"</h1>
44+
<i>Free, Small, Quick, Customizable and the Bestest <b>FLV Player</b> on Internet!</i>
45+
<p>
46+
<b>f4Player</b> is an open source flash (AS3) <b>video</b>/<b>stream</b> player and library project. It is so small that it is only 13kb and totally free under GPL license.</p>
47+
<p>A few years ago I wanted to play a video (flv) on my webpage and I developed a realy small, simple flv player and I'm still developing it for <b>HTML5</b> support and <b>JS interface</b>.</p>
48+
<p>I've only tested it with <b>flv</b>, <b>f4v</b>, <b>mp4</b>, <b>stream</b>, <b>live stream</b>, <b>subscribed CDN</b> and it works enough for me for now!</p>
49+
<p>It is under <a href="http://www.gnu.org/licenses/gpl.html">GPLv3 License</a>.</p>
50+
<p class="signature"><a href="http://gokercebeci.com/dev/" title="developer">
51+
<img src="http://geticon.org/of/gokercebeci.com" alt="developer" />
52+
goker.cebeci, the developer</a></p>
53+
<!--<p class="signature"><a href="http://gokercebeci.com/dev/pay/?product=f4player">
54+
<img src="http://geticon.org/of/paypal.com" alt="github" />
55+
buy the player with source ($9.99)</a></p>-->
56+
</div>
57+
<!-- /DESCRIPTION -->
58+
59+
<div id="areas">
60+
<h3>f4Player</h3>
61+
<div id="player">
62+
<embed type="application/x-shockwave-flash" src="player.swf?v1.3.5" width="480" id="f4Player" height="270" flashvars="skin=skins/mySkin.swf&thumbnail=thumbnail.jpg&video=http://f4player.googlecode.com/files/inhibited-island.mp4" allowscriptaccess="always" allowfullscreen="true" bgcolor="#000000"/>
63+
<noembed>
64+
You need Adobe Flash Player to watch this video. <br>
65+
<a href="http://get.adobe.com/flashplayer/">Download it from Adobe.</a>
66+
<a href="http://gokercebeci.com/dev/f4player" title="flv player">flv player</a>
67+
</noembed>
68+
</div>
69+
<p>* f4Player write own log on browser's "console".</p>
70+
</div>
71+
<div class="clearfix"></div>
72+
</section>
73+
<!-- SAMPLE -->
74+
75+
<!-- USAGE -->
76+
<section>
77+
<h2>USAGE</h2>
78+
<code>
79+
&lt;object id="f4Player" width="480" height="270" type="application/x-shockwave-flash" data="player.swf?v1.3.5"&gt; <br/>
80+
&nbsp; &lt;param name="movie" value="player.swf?v1.3.5" /&gt; <br/>
5681
&nbsp; &lt;param name="quality" value="high" /&gt; <br/>
5782
&nbsp; &lt;param name="menu" value="false" /&gt; <br/>
5883
&nbsp; &lt;param name="scale" value="noscale" /&gt; <br/>
@@ -62,52 +87,40 @@ <h3>USAGE</h3>
6287
&nbsp; &lt;param name="cachebusting" value="false"&gt; <br/>
6388
&nbsp; &lt;param name="flashvars"
6489
&nbsp; value="skin=[SKIN_FILE]&video=[VIDEO_FILE]"/&gt; <br/>
65-
&nbsp; &lt;a href="http://www.adobe.com/go/getflash"&gt; <br/>
66-
&nbsp; &nbsp; &lt;img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/&gt; <br/>
67-
&nbsp; &lt;/a&gt; <br/>
68-
&nbsp; &lt;a href="http://gokercebeci.com/dev/flvplayer" title="flv player"&gt;flv player&lt;/a&gt; <br/>
90+
&nbsp; &lt;a href="http://www.adobe.com/go/flashplayer/"&gt;Download it from Adobe.&lt;/a&gt; <br/>
91+
&nbsp; &lt;a href="http://gokercebeci.com/dev/f4player" title="flv player"&gt;flv player&lt;/a&gt; <br/>
6992
&lt;/object&gt;
70-
</code>
71-
</div>
72-
<h3>PARAMETERS</h3>
73-
<div class="codeblock">
74-
<pre>
75-
skin= => skin file (swf)
76-
stream=rtmp:// => stream url
77-
streamname=livestream => stream name
78-
live=1 => default value 0
79-
subscribe=1 => default value 0
80-
thumbnail=null => thumbnail image
81-
video=myvideo.mp4 => video file
82-
autoplay=1 => default value 0
83-
</pre>
84-
</div>
85-
</div>
86-
<!-- /DESCRIPTION -->
93+
</code>
94+
or
95+
<code>
96+
&lt;embed type="application/x-shockwave-flash" src="player.swf?v1.3.5" id="f4Player" width="480" height="270" flashvars="skin=[SKIN_FILE]&video=[VIDEO_FILE]" allowscriptaccess="always" allowfullscreen="true" bgcolor="#000000"/&gt; <br>
97+
&lt;noembed&gt; <br>
98+
&nbsp;&nbsp; You need Adobe Flash Player to watch this video. <br>
99+
&nbsp;&nbsp; &lt;a href="http://get.adobe.com/flashplayer/"&gt;Download it from Adobe.&lt;/a&gt; <br>
100+
&nbsp;&nbsp; &lt;a href="http://gokercebeci.com/dev/f4player" title="flv player"&gt;flv player&lt;/a&gt; <br>
101+
&lt;/noembed&gt;
102+
</code>
103+
</section>
104+
<!-- /USAGE -->
87105

88-
<div id="areas">
89-
<h3>f4Player v1.3 - RTMP Stream</h3>
90-
<div id="player">
91-
<object id="f4Player" width="460" height="260" type="application/x-shockwave-flash" data="player.swf?v1.3">
92-
<param name="movie" value="player.swf?v1.3" />
93-
<param name="quality" value="high" />
94-
<param name="menu" value="false" />
95-
<param name="scale" value="noscale" />
96-
<param name="allowfullscreen" value="true">
97-
<param name="allowscriptaccess" value="always">
98-
<param name="swlivevonnect" value="true" />
99-
<param name="cachebusting" value="false">
100-
<param name="flashvars" value="skin=skins/mySkin.swf&thumbnail=thumbnail.jpg&video=http://f4player.googlecode.com/files/inhibited-island.mp4"/>
101-
<a href="http://www.adobe.com/go/getflash">
102-
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/>
103-
</a>
104-
<a href="http://gokercebeci.com/dev/flvplayer" title="flv player">flv player</a>
105-
</object>
106-
</div>
107-
<p>* f4Player write own log on browser's "console".</p>
108-
</div>
106+
<!-- OPTIONS -->
107+
<section>
108+
<h2>OPTIONS</h2>
109+
<pre>
110+
skin= => skin file (swf)
111+
stream=rtmp:// => stream url
112+
streamname=livestream => stream name
113+
live=1 => default value 0
114+
subscribe=1 => default value 0
115+
thumbnail=null => thumbnail image
116+
video=myvideo.mp4 => video file
117+
autoplay=1 => default value 0
118+
</pre>
119+
</section>
120+
<!-- /OPTIONS -->
109121

110122
<!-- /development area -->
111123
</div>
112124
</body>
113125
</html>
126+

player.swf

100644100755
13 Bytes
Binary file not shown.

skins/mySkin.swf

100644100755
18 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)