Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help needed with video script

    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>
    Last edited by fmerg; 01-28-2012 at 11:49 AM.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •