Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Want to know if people watch videos on my website to the end. Its like training. If you watch the entire video then you will get form to fill. I tried to find solution on Internet but didn't find any thing use. Does Anyone know how we can do it .

BTW video is in .swf format and i have use object and embed.

CODE
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
               codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0"
               width="1200" height="800">
               <param name="movie" value="HCvid.swf">
               <param name="quality" value="high">
               <param name="play" value="true">
               <param name="LOOP" value="false">
			   <param name="menu" value="true">
			   <param name="SCALE" value="noborder">
			   <embed src="HCvid.swf" width="1200" height="800" play="true" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
               type="application/x-shockwave-flash" scale="noborder" menu="true" >
               </embed>
               </object>
Posted

There is no way to tell if the video has been completed. Remember that the web is a stateless animal. After the video is downloaded there is no way to tell if the use watched it, navigated to another page, or closed the browser. For that matter there is no way to tell if the user simply fast forwarded to the end.

If you have control over the SWF files you could use ActionScript to have a redirect at the end.

If the videos were streamed from the server you would have more control over the process.
 
Share this answer
 
Might consider something like Silverlight which is not stateless. At the minimum should be able to have an event fire every second or so and check where the user is in the video.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900