This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes how long the video is played? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how long the video is played?" Watch "how long the video is played?" New topic
Author

how long the video is played?

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
hi,
i embeded a video in my jsp page as following:


<OBJECT id="VIDEO" width="640" height="480"
codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=7,0,0,1954
STANDBY="Loading Microsoft Windows Media Player components..."
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="downloadTrainingFile.do">
<PARAM NAME="AutoStart" VALUE="false">
<PARAM NAME="BufferingTime" VALUE="5">
<PARAM name="showstatusbar" value="true">
<PARAM name="showdisplay" value="false">
<EMBED type="application/x-ms-wmp"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/download/default.asp"
SRC="downloads/training.asx" width=640 height=480 BufferingTime=5
AutoStart="0" showstatusbar="-1">
</EMBED>
</OBJECT>


i want to know if the client have played the full video, or how long the video is played, or if the client stop and quit the video in the middle. is there any way? thanks for any helps.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

Please take the time to choose an appropriate forum for your posts. This forum is for questions on JSP. For more information, please click this link ⇒ CarefullyChooseOneForum. This post has been moved to a more appropriate forum.

Alos, using bold for code is not particularly readable. Please be sure to use code tags when posting code to the forums. Unformatted or unindented code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please click this link ⇒ UseCodeTags ⇐ for more information.

Properly indented and formatted code greatly increases the probability that your question will get quicker, better answers.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: how long the video is played?
 
Similar Threads
problem embedding Media Player object for Firefox
IE embedded video
No Sound
Embedding multple players with javascript
Embeding a video with a dynamic "src"