axWindowsMediaPlayer1 指定从何处开始播放问题 就是已经载入一个视频 长4分钟 我要从1分钟的位置开始播放?还有如何获取他当前播放到哪个位置 希望能有解代码 思路都OK 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 当前播放位置:1.axWindowsMediaPlayer1.Ctlcontrols.currentPositionString;2.axWindowsMediaPlayer1.Ctlcontrols.currentPosition; 从1min开始播放:axWindowsMediaPlayer1.Ctlcontrols.currentPosition=60; //播放器基本控制 Ctlcontrols.play; 播放 Ctlcontrols.pause; 暂停 Ctlcontrols.stop; 停止 Ctlcontrols.currentPosition:double; 当前进度 Ctlcontrols.currentPositionString:string; 当前进度,字符串格式。如“00:23” Ctlcontrols.fastForward; 快进 Ctlcontrols.fastReverse; 快退 Ctlcontrols.next; 下一曲 Ctlcontrols.previous; 上一曲 [settings] wmp.settings //播放器基本设置 settings.volume:integer; 音量,0-100 settings.autoStart:Boolean; 是否自动播放 settings.mute:Boolean; 是否静音 settings.playCount:integer; 播放次数 [currentMedia] wmp.currentMedia //当前媒体属性 currentMedia.duration:double; 媒体总长度 currentMedia.durationString:string; 媒体总长度,字符串格式。如“03:24” currentMedia.getItemInfo(const string); 获取当前媒体信息"Title"=媒体标题,"Author"=艺术家,"Copyright"=版权信息,"Description"=媒体内容描述, "Duration"=持续时间(秒),"FileSize"=文件大小,"FileType"=文件类型,"sourceURL"=原始地址 currentMedia.setItemInfo(const string); 通过属性名设置媒体信息 currentMedia.name:string; 同 currentMedia.getItemInfo("Title") [currentPlaylist] wmp.currentPlaylist //当前播放列表属性 currentPlaylist.count:integer; 当前播放列表所包含媒体数 currentPlaylist.Item[integer]; 获取或设置指定项目媒体信息,其子属性同wmp.currentMedia axWindowsMediaPlayer1.currentMedia.sourceURL; //获取正在播放的媒体文件的路径axWindowsMediaPlayer1.currentMedia.name; //获取正在播放的媒体文件的名称axWindowsMediaPlayer1.Ctlcontrols.Play 播放 axWindowsMediaPlayer1.Ctlcontrols.Stop 停止 axWindowsMediaPlayer1.Ctlcontrols.Pause 暂停 axWindowsMediaPlayer1.Ctlcontrols.PlayCount 文件播放次数 axWindowsMediaPlayer1.Ctlcontrols.AutoRewind 是否循环播放 axWindowsMediaPlayer1.Ctlcontrols.Balance 声道 axWindowsMediaPlayer1.Ctlcontrols.Volume 音量 axWindowsMediaPlayer1.Ctlcontrols.Mute 静音 axWindowsMediaPlayer1.Ctlcontrols.EnableContextMenu 是否允许在控件上点击鼠标右键时弹出快捷菜单 axWindowsMediaPlayer1.Ctlcontrols.AnimationAtStart 是否在播放前先播放动画 axWindowsMediaPlayer1.Ctlcontrols.ShowControls 是否显示控件工具栏 axWindowsMediaPlayer1.Ctlcontrols.ShowAudioControls 是否显示声音控制按钮 axWindowsMediaPlayer1.Ctlcontrols.ShowDisplay 是否显示数据文件的相关信息 axWindowsMediaPlayer1.Ctlcontrols.ShowGotoBar 是否显示Goto栏 axWindowsMediaPlayer1.Ctlcontrols.ShowPositionControls 是否显示位置调节按钮 axWindowsMediaPlayer1.Ctlcontrols.ShowStatusBar 是否显示状态栏 axWindowsMediaPlayer1.Ctlcontrols.ShowTracker 是否显示进度条 axWindowsMediaPlayer1.Ctlcontrols.FastForward 快进 axWindowsMediaPlayer1.Ctlcontrols.FastReverse 快退 axWindowsMediaPlayer1.Ctlcontrols.Rate 快进/快退速率 http://www.cnblogs.com/msnadair/archive/2008/05/28/1209325.html自己看吧. ICanUseThisID 从1min开始播放:axWindowsMediaPlayer1.Ctlcontrols.currentPosition=60;这里有的先PLAY还是先设置的顺序吗?我怎么还是从新播放? 我这里试了下没问题的,你是不是在改变position时还没有指定媒体(axWindowsMediaPlayer1.URL)啊 两窗体间发送DataTable 求助,在EXCEL里可以实现,或是写程序实现! Flash 动态文本加连接后传值跳帧,在线等,急 如何使TabPage的标签在一定时间段内背景色变化? 这个程序的删除事件和打印实践怎么写? 怎么为 TextBox 写双击事件 挑战C#学习的最快速度 Access is denied: 'Interop.CDO'是怎么回事? 怎么让客户自己定义报表,怎么做? C# 自定义 表样本 存入数据库 OWC11画曲线+条形图 c#中导入本地图片后。项目中图片存在哪个位置
1.axWindowsMediaPlayer1.Ctlcontrols.currentPositionString;
2.axWindowsMediaPlayer1.Ctlcontrols.currentPosition;
Ctlcontrols.play; 播放
Ctlcontrols.pause; 暂停
Ctlcontrols.stop; 停止
Ctlcontrols.currentPosition:double; 当前进度
Ctlcontrols.currentPositionString:string; 当前进度,字符串格式。如“00:23”
Ctlcontrols.fastForward; 快进
Ctlcontrols.fastReverse; 快退
Ctlcontrols.next; 下一曲
Ctlcontrols.previous; 上一曲
[settings] wmp.settings //播放器基本设置
settings.volume:integer; 音量,0-100
settings.autoStart:Boolean; 是否自动播放
settings.mute:Boolean; 是否静音
settings.playCount:integer; 播放次数
[currentMedia] wmp.currentMedia //当前媒体属性
currentMedia.duration:double; 媒体总长度
currentMedia.durationString:string; 媒体总长度,字符串格式。如“03:24”
currentMedia.getItemInfo(const string); 获取当前媒体信息"Title"=媒体标题,"Author"=艺术家,"Copyright"=版权信息,"Description"=媒体内容描述, "Duration"=持续时间(秒),"FileSize"=文件大小,"FileType"=文件类型,"sourceURL"=原始地址
currentMedia.setItemInfo(const string); 通过属性名设置媒体信息
currentMedia.name:string; 同 currentMedia.getItemInfo("Title")
[currentPlaylist] wmp.currentPlaylist //当前播放列表属性
currentPlaylist.count:integer; 当前播放列表所包含媒体数
currentPlaylist.Item[integer]; 获取或设置指定项目媒体信息,其子属性同wmp.currentMedia
axWindowsMediaPlayer1.currentMedia.sourceURL; //获取正在播放的媒体文件的路径
axWindowsMediaPlayer1.currentMedia.name; //获取正在播放的媒体文件的名称
axWindowsMediaPlayer1.Ctlcontrols.Play 播放
axWindowsMediaPlayer1.Ctlcontrols.Stop 停止
axWindowsMediaPlayer1.Ctlcontrols.Pause 暂停
axWindowsMediaPlayer1.Ctlcontrols.PlayCount 文件播放次数
axWindowsMediaPlayer1.Ctlcontrols.AutoRewind 是否循环播放
axWindowsMediaPlayer1.Ctlcontrols.Balance 声道
axWindowsMediaPlayer1.Ctlcontrols.Volume 音量
axWindowsMediaPlayer1.Ctlcontrols.Mute 静音
axWindowsMediaPlayer1.Ctlcontrols.EnableContextMenu 是否允许在控件上点击鼠标右键时弹出快捷菜单
axWindowsMediaPlayer1.Ctlcontrols.AnimationAtStart 是否在播放前先播放动画
axWindowsMediaPlayer1.Ctlcontrols.ShowControls 是否显示控件工具栏
axWindowsMediaPlayer1.Ctlcontrols.ShowAudioControls 是否显示声音控制按钮
axWindowsMediaPlayer1.Ctlcontrols.ShowDisplay 是否显示数据文件的相关信息
axWindowsMediaPlayer1.Ctlcontrols.ShowGotoBar 是否显示Goto栏
axWindowsMediaPlayer1.Ctlcontrols.ShowPositionControls 是否显示位置调节按钮
axWindowsMediaPlayer1.Ctlcontrols.ShowStatusBar 是否显示状态栏
axWindowsMediaPlayer1.Ctlcontrols.ShowTracker 是否显示进度条
axWindowsMediaPlayer1.Ctlcontrols.FastForward 快进
axWindowsMediaPlayer1.Ctlcontrols.FastReverse 快退
axWindowsMediaPlayer1.Ctlcontrols.Rate 快进/快退速率
从1min开始播放:axWindowsMediaPlayer1.Ctlcontrols.currentPosition=60;
这里有的先PLAY还是先设置的顺序吗?
我怎么还是从新播放?