重分求c#做的能放realplay视频媒体播放器的源代码! 你添加一个com组件就是了,好像叫做readplayer什么的,可以在自定义工具箱里找到 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 楼上的大哥:我网上找了3天了,也没个结果,55555555realplay G2 control 这个控件我用过只有声音,却没有图像,那位高人教教我呀!!!!!!!! <object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=180 id=RPOCX width=240 bgcolor="#000000"> <param name="src" value="rtsp://real.cctv.com.cn/encoder/live.rm"> <param name="CONTROLS" value="Imagewindow"> <param name="AUTOSTART" value="1"> <param name="NOLABELS" value="0"> <param name="CONSOLE" value="All"> <param name="_ExtentX" value="9525"> <param name="_ExtentY" value="6350"> <param name="SHUFFLE" value="0"> <param name="PREFETCH" value="0"> <param name="LOOP" value="1"> <param name="NUMLOOP" value="0"> <param name="CENTER" value="0"> <param name="MAINTAINASPECT" value="0"> <param name="BACKGROUNDCOLOR" value="#000000"> </object>http://www.cctv.com/player/main_real.html?rtsp://real.cctv.com.cn/geography/column/56K/47887101.rm u must setCtlControls by ImageWindow,单击real 控件,在属性里的CtlControls 输入 ImageWindow ArLi2003(阿利,[email protected]) 大哥,现在有视频窗口了但为什么视频控制条没有了? 呵呵,楼上的绅士?我以前写的是一个网络点播系统,解决方法很简单,你现在有了视频窗口了,至于那播放,暂停,以及关闭,,在REAL控件里面的方法,你可以调用的啊.你尽可以自己的界面的哎. 楼主那是你没找对组件,你看我这个就可以using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;namespace WindowsApplication12{ /// <summary> /// Form1 的摘要说明。 /// </summary> public class Form1 : System.Windows.Forms.Form { private AxRealAudioObjects.AxRealAudio axRealAudio1; /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.Container components = null; public Form1() { // // Windows 窗体设计器支持所必需的 // InitializeComponent(); // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 // } /// <summary> /// 清理所有正在使用的资源。 /// </summary> protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code /// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.axRealAudio1 = new AxRealAudioObjects.AxRealAudio(); ((System.ComponentModel.ISupportInitialize)(this.axRealAudio1)).BeginInit(); this.SuspendLayout(); // // axRealAudio1 // this.axRealAudio1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.axRealAudio1.Enabled = true; this.axRealAudio1.Name = "axRealAudio1"; this.axRealAudio1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axRealAudio1.OcxState"))); this.axRealAudio1.Size = new System.Drawing.Size(288, 264); this.axRealAudio1.TabIndex = 0; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(292, 266); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.axRealAudio1}); this.Name = "Form1"; this.Text = "孤独客个人播放器:)"; ((System.ComponentModel.ISupportInitialize)(this.axRealAudio1)).EndInit(); this.ResumeLayout(false); } #endregion /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Application.Run(new Form1()); } }} 再加上 private void Form1_Load(object sender, System.EventArgs e) { this.axRealAudio1.Source=@"f:\虫虫特工队.avi"; this.axRealAudio1.DoPlay(); }这样就可以了,我说过了,开始时你还是没找到正确的组件。呵呵,刚才没看到别人已经发给你代码了。 关于C#网页单选按钮 vs2005画图问题 C# 我想做个类似街机模拟器里按键设置的程序。把键盘输入显示到一个TEXT文本框里。 急,DATASET的问题 怎样将控件和窗体改变为自己定义的形状!!! internal的用法???? C#调用C++编写的DLL 问题??????????################?????????????? 求写个关于日期的正则表达式 线程安全集合类的疑问 怎么不懂 求算法,关于数组 弱智问题:如何在string中查找某个子串?
我网上找了3天了,也没个结果,55555555realplay G2 control 这个控件我用过只有声音,却没有图像,那位高人教教我呀!!
!!!!!!
id=RPOCX width=240 bgcolor="#000000">
<param name="src" value="rtsp://real.cctv.com.cn/encoder/live.rm">
<param name="CONTROLS" value="Imagewindow">
<param name="AUTOSTART" value="1">
<param name="NOLABELS" value="0">
<param name="CONSOLE" value="All">
<param name="_ExtentX" value="9525">
<param name="_ExtentY" value="6350">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="LOOP" value="1">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object>http://www.cctv.com/player/main_real.html?rtsp://real.cctv.com.cn/geography/column/56K/47887101.rm
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;namespace WindowsApplication12
{
/// <summary>
/// Form1 的摘要说明。
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private AxRealAudioObjects.AxRealAudio axRealAudio1;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null; public Form1()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent(); //
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
} /// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
} #region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
this.axRealAudio1 = new AxRealAudioObjects.AxRealAudio();
((System.ComponentModel.ISupportInitialize)(this.axRealAudio1)).BeginInit();
this.SuspendLayout();
//
// axRealAudio1
//
this.axRealAudio1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.axRealAudio1.Enabled = true;
this.axRealAudio1.Name = "axRealAudio1";
this.axRealAudio1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axRealAudio1.OcxState")));
this.axRealAudio1.Size = new System.Drawing.Size(288, 264);
this.axRealAudio1.TabIndex = 0;
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(292, 266);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.axRealAudio1});
this.Name = "Form1";
this.Text = "孤独客个人播放器:)";
((System.ComponentModel.ISupportInitialize)(this.axRealAudio1)).EndInit();
this.ResumeLayout(false); }
#endregion /// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Form1());
}
}
}
{
this.axRealAudio1.Source=@"f:\虫虫特工队.avi";
this.axRealAudio1.DoPlay();
}
这样就可以了,
我说过了,开始时你还是没找到正确的组件。呵呵,刚才没看到别人已经发给你代码了。