将 Flash 视频添加到网页

Adding a flash video to webpage

代码

<head>
    <meta name="description" content="Learning about flash" />
    <meta http-equiv="author" content="Abhi" />
    <title>Flash</title>

    <script type="text/javascript"
             src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js">         
    </script>

    <script type="text/javascript">
            var flashvars={};
            var params= {movie:"puppy.flv"};
            swfobject.embedSWF("C:/Program Files (x86)/VideoLAN/VLC/vlc.exe", "snow", "400", "320", "8.0.0", flashvars, params);
    </script>

</head>

<body>
        <div id="snow"><p> Alternative content: A video of puppy playing in the snow.</p></div>
</body>

VLC 的位置: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe

.flv 文件的位置: F:. Codes\HTML\puppy.flv

我正在编写代码的 html 文件的位置是: F:. Codes\HTML_2.html

但我无法在我的 html 页面上看到视频,我只能看到替代内容。有什么问题吗?

浏览器不再支持 Flash,因此它不会显示:https://caniuse.com/?search=flash

现在不支持Flash,你可以看这篇https://www.adobe.com/sea/products/flashplayer/end-of-life.html