如何在我的网页上嵌入新的GIFV格式?

时间:2022-12-04 19:40:53

Normally I would embed a gif like so.

通常我会像这样嵌入一个gif。

<img src="http://i.imgur.com/awHPuBp.gifv">

Although I get an error that the image could not be loaded.

虽然我收到错误,无法加载图像。

I'm just wondering what mark up I will need to use so that I can display the GIFV.

我只是想知道我需要使用什么标记才能显示GIFV。

GIFV is created by imgur and more information can be found here.

GIFV由imgur创建,可在此处找到更多信息。

1 个解决方案

#1


5  

I just checked that demo site. It seems that they just convert the video to a webm video (in case of Firefox). Check this file here which comes from the demo: http://i.imgur.com/A61SaA1.webm

我刚检查了那个演示网站。他们似乎只是将视频转换为webm视频(如果是Firefox)。请在此处查看此文件,该文件来自演示:http://i.imgur.com/A61SaA1.webm

So I would say you could also just use the <video> tag to embedd those "gif" files. I just guess that use a feature detection and a video converting logic. No idea what this nonsense should be for.

所以我想你也可以使用

#1


5  

I just checked that demo site. It seems that they just convert the video to a webm video (in case of Firefox). Check this file here which comes from the demo: http://i.imgur.com/A61SaA1.webm

我刚检查了那个演示网站。他们似乎只是将视频转换为webm视频(如果是Firefox)。请在此处查看此文件,该文件来自演示:http://i.imgur.com/A61SaA1.webm

So I would say you could also just use the <video> tag to embedd those "gif" files. I just guess that use a feature detection and a video converting logic. No idea what this nonsense should be for.

所以我想你也可以使用