1

我如何将视频添加到 xhtml 中,从服务器中提取视频的内容,而不是像 youtube,

这有效吗?还是我最好使用普通的 html 方法?

<!-- First, try the applet -->
<object
    src="http://www.example.com/applets/classes/TheEarth.class"
    srctype="application/x-java-applet">
      <!-- Else, try the video -->
      <object
          src="TheEarth.mpeg"
          srctype="video/mpeg"
          xml:base="http://www.example.com/videos/">
            <!-- Else, try the image -->
            <object
                src="TheEarth.png"
                srctype="image/png"
                xml:base="http://www.example.com/images/">
                <!-- Else process the alternate text -->
                The <strong>Earth</strong> as seen from space.
            </object>
      </object>
</object>

还有什么是让它在所有平台上工作的最佳解决方案,比如安卓、ios、windows、chrome等

4

0 回答 0