html - 如何从页面的 html 代码下载 .swf 文件?

标签 html download flash

<分区>

有一个 html 页面只包含一个可以从那里流式传输的 .swf 文件:

http://tvoy-start.ru/uroki/1nedel/1nedel.html

这是该页面的来源:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <!-- saved from url=(0025)http://www.techsmith.com/ -->
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="DC.date" content="2011-09-15 11:37:43 " />
        <meta name="DC.language" content="ENU" />
        <meta name="DC.title" content="1nedel" />

        <title>Создано Camtasia Studio 6</title>

        <script type="text/javascript" src="swfobject.js"></script>
        <script type="text/javascript">
            swfobject.registerObject("csSWF", "9.0.115", "expressInstall.swf");
        </script>
        <style type="text/css">
            body 
            {
                background-color: #1a1a1a;
                font: .8em/1.3em verdana,arial,helvetica,sans-serif;
                text-align: center;
            }
            #media
            {
                margin-top: 40px;
            }
            #noUpdate
            {
                margin: 0 auto;
                font-family:Arial, Helvetica, sans-serif;
                font-size: x-small;
                color: #cccccc;
                text-align: left;
                width: 210px; 
                height: 200px;  
                padding: 40px;
            }
        </style>
    </head>
    <body>
        <div id="media">
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="420" id="csSWF">

                <param name="movie" value="1nedel_controller.swf" />
                <param name="quality" value="best" />
                <param name="bgcolor" value="#1a1a1a" />
                <param name="allowfullscreen" value="true" />
                <param name="scale" value="showall" />
                <param name="allowscriptaccess" value="always" />
                <param name="flashvars" value="autostart=false&thumb=FirstFrame.png&thumbscale=45&color=0x1A1A1A,0x1A1A1A" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="1nedel_controller.swf" width="900" height="420">

                    <param name="quality" value="best" />
                    <param name="bgcolor" value="#1a1a1a" />
                    <param name="allowfullscreen" value="true" />
                    <param name="scale" value="showall" />
                    <param name="allowscriptaccess" value="always" />
                    <param name="flashvars" value="autostart=false&thumb=FirstFrame.png&thumbscale=45&color=0x1A1A1A,0x1A1A1A" />
                <!--<![endif]-->
                    <div id="noUpdate">
                        <p>The Camtasia Studio video content presented here requires a more recent version of the Adobe Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.adobe.com/go/getflashplayer">downloading here</a>.</p>

                    </div>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
        <!-- Users looking for simple object / embed tags can copy and paste the needed tags below.
        <div id="media">
            <object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="900" height="420" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0">
                <param name="src" value="1nedel_controller.swf"/>
                <param name="bgcolor" value="#1a1a1a"/>
                <param name="quality" value="best"/>
                <param name="allowScriptAccess" value="always"/>
                <param name="allowFullScreen" value="true"/>
                <param name="scale" value="showall"/>
                <param name="flashVars" value="autostart=false"/>
                <embed name="csSWF" src="1nedel_controller.swf" width="900" height="420" bgcolor="#1a1a1a" quality="best" allowScriptAccess="always" allowFullScreen="true" scale="showall" flashVars="autostart=false&thumb=FirstFrame.png&thumbscale=45&color=0x1A1A1A,0x1A1A1A" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
            </object>
        </div>
        -->
    </body>
</html>

我想知道,如果可能的话,我可以在页面源代码的哪个位置找到链接,以便我可以将该 .swf 文件下载到我的计算机上?

最佳答案

是的,它被指定为对象标签下的“电影”参数。 您可以通过 http://tvoy-start.ru/uroki/1nedel/1nedel_controller.swf 联系到它

但是,swf 文件可能有一些服务器端控件,如果您不在该网站上,则不允许您查看流式传输。试试吧。

编辑: 忘记了,您必须保存页面,在我的浏览器 (firefox) 中是文件->使用名称保存页面 在 Internet Explorer 上是引擎轮图标->文件->另存为

在其他浏览器上,暂时不知道

关于html - 如何从页面的 html 代码下载 .swf 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7461700/

相关文章:

javascript - 无法将 jquery 元素附加到新包装的元素

javascript - 用户输入后如何获取 MathQuill 数据?

java - http请求在java中下载文件

php - 从URL下载大图片到PHP服务器的高性能方法

android - 如何在 as3, air for android 中加载 xml

java - 在 Servlet 中以字符串形式获取文件内容

html - CSS 列表菜单翻转填充/边距

windows - VBS/批量检查下载是否完成

flash - DisplayObject 的可见属性

windows - 用户是否需要管理员权限才能安装 Flash Player?