gpt4 book ai didi

html - 将视频放在网页上

转载 作者:行者123 更新时间:2023-12-03 02:33:46 25 4
gpt4 key购买 nike

我正在制作一个非常简单的网站,该网站上只应有一个名为“starenders.swf”的视频。问题是,它不会显示!这是代码:

<HTML>
<HEAD><TITLE>Starenders</TITLE>
<STYLE>
body, td, p {font-size: 12pt; font-family: times new roman, times, serif}
h1 {font-weight: normal; font-size: 26pt; font-family: arial, helvetica, sans-serif}
h2 {font-weight: normal; font-size: 18pt; font-family: arial, helvetica, sans-serif}
h3 {font-weight: normal; font-size: 16pt}
h4 {font-weight: normal; font-size: 14pt}
a {text-decoration: none}
a:hover {text-decoration: underline}
</STYLE>
<META id=skype_v3_tb_marker_id name=SKYPE_PARSING_HAS_FINISHED content=metacontent>
</HEAD>
<BODY style="MARGIN: 10px 10px; BACKGROUND: #ffffff" text=#000000>&nbsp;
<DIV style="BACKGROUND: #000000" align=center><EMBED height=100% type=application/x-shockwave-flash width=100% src=starenders.swf originalWidth="100%" originalHeight="100%" quality="high" allowNetworking="internal" allowScriptAccess="never" allowFullScreen="true" play="true" loop="true" ></DIV></BODY>

当我启动网页时,它不起作用

这里是网站:
http://starenders.github.io/

谢谢!

George

最佳答案

HTML 5提供了一个特殊的视频标签。您可以使用的代码应为-

<video type="video/swf" controls >

<source type="video/swf" src="The source of the video should be here ." />
</video>

关于html - 将视频放在网页上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30503462/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com