the following script opens a video and plays the video
is there anyway to have it list all the flv files in a folder and make it play the video onclick
something like a web photo album but for video's all with the same extension
the file name that would need to be replaced is detecting.flv
Code:
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- A minimal Flowplayer setup to get you started -->
<!--
include flowplayer JavaScript file that does
Flash embedding and provides the Flowplayer API.
-->
<script type="text/javascript" src="flowplayer-3.2.6.min.js"></script>
<!-- some minimal styling, can be removed -->
<link rel="stylesheet" type="text/css" href="style.css">
<!-- page title -->
<title>detecting finds</title>
</head><body>
<div id="page">
<p style="text-align: center">Franks website</p>
<!-- this A tag is where your Flowplayer will be placed. it can be anywhere -->
<a
href="http://franks.com/movies/detecting.flv"
style="display:block;width:520px;height:330px"
id="player">
</a>
<!-- this will install flowplayer inside previous A- tag. -->
<script>
flowplayer("player", "http://franks.com/movies/flowplayer-3.2.7.swf");
</script>
</div>
</body></html>