1
2<!--
3	A minimal setup to get you started. This configuration is the same
4	as in Quick Start documentation:
5
6	http://flowplayer.org/player/quick-start.html
7-->
8
9<head>
10	<!--
11		include flashembed - which is a general purpose tool for
12		inserting Flash on your page. Following line is required.
13	-->
14	<script type="text/javascript" src="flashembed.min.js"></script>
15
16	<!-- some minimal styling, can be removed -->
17	<style>
18		body {
19			background-color:#333;
20			padding-top:100px;
21			text-align:center;
22			font-family:"trebuchet ms", verdana, "bitstream vera sans";
23			color:#fff;
24		}
25	</style>
26
27</head>
28
29
30<h2>Simple flowplayer example</h2>
31
32
33<script>
34/*
35 * window.onload event occurs after all HTML elements have been loaded
36 * this is a good place to setup your Flash elements
37 */
38window.onload = function() {
39
40    /*
41      use flashembed to place flowplayer into HTML element
42      whose id is "example" (below this script tag)
43    */
44    flashembed("example",
45
46		/*
47			first argument supplies standard Flash parameters. See full list:
48			http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701
49		*/
50      {
51         src:'../FlowPlayerDark.swf',
52			width: 468,
53			height: 350
54      },
55
56      /*
57			second argument is Flowplayer specific configuration. See full list:
58			http://flowplayer.org/player/configuration.html
59		*/
60      {config: {
61			videoFile: 'http://community.flowplayer.org/video/honda_commercial.flv'
62      }}
63   );
64}
65</script>
66
67<!-- this DIV is where your Flowplayer will be placed. it can be anywhere -->
68<div id="example"></div>
69
70
71<!-- help text -->
72<p>
73
74	If you are running this example locally and cannot see any video running <br />
75	then  you need to edit your
76	<a style="color:yellow"
77		href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html">
78		Flash security settings
79	</a>.
80
81</p>
82
83<p style="color:#999;font-size:12px">
84	Select "Edit locations" &gt; "Add location" &gt; "Browse for files" and select
85	FlowPlayerDark.swf you just downloaded.
86</p>
87