Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Media Player > play a WMV starting at a time (e.g. 00:01:33) of the video on web

Reply
Thread Tools Display Modes

play a WMV starting at a time (e.g. 00:01:33) of the video on web

 
 
Liu
Guest
Posts: n/a

 
      04-23-2010
How do I control the playback of WMV so it does not start at the beginning of
the video but at a specific time or marker (created using Windows Media File
Editor)?
For example I have video play automaticall from web with the following code:
How can I make it play from a certain time of the video by modifying the
code below?
THANKS,


<%
Dim videoname, coursecode, width, height
videoname = "filename.wmv" '
width = "896"
height = "565"
%>

<object id="MediaPlayer1"
width=<%=width%> height=<%=height%>
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<param name="URL"
value="mms://<%=serverloc%>/serverNameHere/<%=coursecode%>/<%=videoname%>"
valuetype="ref">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="50">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
</object>


 
Reply With Quote
 
 
 
 
Andrew E.
Guest
Posts: n/a

 
      04-25-2010

If you don't get an answer here,you might look into WMP 11 SDK.It lets
users modify the player,get these at:
http://msdn.microsoft.com/en-us/windows/bb190307.aspx

"Liu" wrote:

> How do I control the playback of WMV so it does not start at the beginning of
> the video but at a specific time or marker (created using Windows Media File
> Editor)?
> For example I have video play automaticall from web with the following code:
> How can I make it play from a certain time of the video by modifying the
> code below?
> THANKS,
>
>
> <%
> Dim videoname, coursecode, width, height
> videoname = "filename.wmv" '
> width = "896"
> height = "565"
> %>
>
> <object id="MediaPlayer1"
> width=<%=width%> height=<%=height%>
> classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
> type="application/x-oleobject">
> <param name="URL"
> value="mms://<%=serverloc%>/serverNameHere/<%=coursecode%>/<%=videoname%>"
> valuetype="ref">
> <param name="rate" value="1">
> <param name="balance" value="0">
> <param name="currentPosition" value="0">
> <param name="defaultFrame" value>
> <param name="playCount" value="1">
> <param name="autoStart" value="-1">
> <param name="currentMarker" value="0">
> <param name="invokeURLs" value="-1">
> <param name="baseURL" value>
> <param name="volume" value="50">
> <param name="mute" value="0">
> <param name="uiMode" value="full">
> <param name="stretchToFit" value="0">
> <param name="windowlessVideo" value="0">
> <param name="enabled" value="-1">
> <param name="enableContextMenu" value="-1">
> <param name="fullScreen" value="0">
> <param name="SAMIStyle" value>
> <param name="SAMILang" value>
> <param name="SAMIFilename" value>
> <param name="captioningID" value>
> <param name="enableErrorDialogs" value="0">
> </object>
>
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing a useful video convert guide for Mobile phoners Sharea Windows Vista Music, Pictures and Video 1 08-19-2010 07:57 AM
clients disconnected from domain at certain time each day it-support Windows Server 9 02-02-2010 06:54 PM
Re: Cannot change user passwords in SBS 2003 kj [SBS MVP] Windows Small Business Server 4 12-23-2009 02:18 PM
Why OH! Why can't I play DVD's in Windows Media player for Vista anymore?? Ted F Windows Vista Hardware 2 01-27-2008 11:31 AM
Why OH! Why can't I play DVD's in Windows Media player for Vista anymore?? Ted F Windows Vista Administration 1 01-27-2008 06:51 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59