• 大小: 0.41M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: winform  播放器  flash  

资源简介

一款不错的flash播放器 c# 简洁版,用到了俩dll文件 AxInterop.ShockwaveFlashObjects.dll以及Interop.ShockwaveFlashObjects.dll

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.xml;
using System.IO;
using System.Runtime.InteropServices;
namespace Playflv
{
    public partial class Frm_Main : Form
    {
        public Frm_Main()
        {
            InitializeComponent();
        }
        string xmlPath = ““; //记录xml文件路径
        string[] flv = new string[3]; //记录FLV文件的相关信息
        FileInfo fi; // FileInfo对象
        string strg;
        AxShockwaveFlashobjects.AxShockwaveFlash ax; // AxShockwaveFlash对象用于播放flash

        private void Frm_Main_Load(object sender EventArgs e)
        {
            AddFlash();

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-12-22 23:11  Playflv\
     目录           0  2013-04-26 09:51  Playflv\Playflv\
     目录           0  2013-04-26 09:45  Playflv\Playflv\Playflv\
     文件         911  2013-04-26 09:39  Playflv\Playflv\Playflv.sln
     文件       16384  2010-11-04 18:54  Playflv\Playflv\Playflv.suo
     文件       36864  2013-04-26 09:52  Playflv\Playflv\Playflv.v11.suo
     目录           0  2011-12-22 23:11  Playflv\Playflv\Playflv\bin\
     目录           0  2013-04-26 09:45  Playflv\Playflv\Playflv\bin\Debug\
     文件       28672  2008-06-06 22:44  Playflv\Playflv\Playflv\bin\Debug\AxInterop.ShockwaveFlashobjects.dll
     文件       61440  2013-04-26 09:45  Playflv\Playflv\Playflv\bin\Debug\AxInterop.WMPLib.dll
     文件       32768  2013-04-26 09:45  Playflv\Playflv\Playflv\bin\Debug\Interop.scripting.dll
     文件       32768  2008-06-06 22:44  Playflv\Playflv\Playflv\bin\Debug\Interop.ShockwaveFlashobjects.dll
     文件      339968  2013-04-26 09:45  Playflv\Playflv\Playflv\bin\Debug\Interop.WMPLib.dll
     文件       31744  2013-04-26 09:45  Playflv\Playflv\Playflv\bin\Debug\Playflv.exe
     文件       32256  2013-04-26 09:45  Playflv\Playflv\Playflv\bin\Debug\Playflv.pdb
     文件        3192  2008-11-27 18:33  Playflv\Playflv\Playflv\down.png
     目录           0  2011-12-22 23:11  Playflv\Playflv\Playflv\FLVPlayer\
     文件       49214  2008-11-28 16:25  Playflv\Playflv\Playflv\FLVPlayer\FLVplayer.swf
     文件          87  2013-04-26 09:51  Playflv\Playflv\Playflv\FLVPlayer\list.xml
     文件        5308  2008-11-26 23:44  Playflv\Playflv\Playflv\FLVPlayer\SteelExternalAll.swf
     文件        7382  2010-07-10 23:20  Playflv\Playflv\Playflv\Frm_Main.cs
     文件       10214  2010-07-09 17:23  Playflv\Playflv\Playflv\Frm_Main.Designer.cs
     文件       13601  2010-07-09 17:23  Playflv\Playflv\Playflv\Frm_Main.resx
     目录           0  2011-12-22 23:11  Playflv\Playflv\Playflv\obj\
     目录           0  2013-04-26 09:45  Playflv\Playflv\Playflv\obj\Debug\
     文件       61440  2013-04-26 09:45  Playflv\Playflv\Playflv\obj\Debug\AxInterop.WMPLib.dll
     文件        9777  2013-04-26 09:45  Playflv\Playflv\Playflv\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件       32768  2013-04-26 09:45  Playflv\Playflv\Playflv\obj\Debug\Interop.scripting.dll
     文件       32768  2013-04-26 09:41  Playflv\Playflv\Playflv\obj\Debug\Interop.ShockwaveFlashobjects.dll
     文件      339968  2013-04-26 09:45  Playflv\Playflv\Playflv\obj\Debug\Interop.WMPLib.dll
     文件       12775  2013-04-26 09:45  Playflv\Playflv\Playflv\obj\Debug\Playflv.csproj.FileListAbsolute.txt
............此处省略25个文件信息

评论

共有 条评论