强制Vimeo HTML5视频嵌入 [英] Force Vimeo HTML5 Video Embed

查看:200
本文介绍了强制Vimeo HTML5视频嵌入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试嵌入Vimeo视频并强制它默认使用HTML5。

I'm trying to embed a Vimeo video and force it to use HTML5 by default.

这里有一个关于做同样事情的话题,但我要跟你做的事情一样。

Here's a thread about doing the same thing I'm tying to do but with YouTube.

< a href =https://stackoverflow.com/questions/6407008/what-is-a-good-way-to-embed-vimeo-videos-in-html5-format>这是另一个讨论的话题获取Vimeo HTML5 cookie

Here's another thread talking about getting the Vimeo HTML5 cookie

以下是对Vimeo网站上的问题。基本上,我会这样做是为了回应用户对我网站的偏好,所以他们的担忧并不真正适用。

Here's a discussion of the issue on Vimeo's site. Basically, I would be doing it in response to a user's preference on my site so their concerns don't really apply.

有人知道一种解决方法或强制HTML5 Vimeo嵌入的方法,即使Flash可用吗? (我知道cookie应该可以在Safari中使用,但我有很多Chrome用户。)

Does anyone know a workaround or way to force HTML5 Vimeo embeds even when Flash is available? (I know the cookie should work in Safari but I have many Chrome users.)

谢谢。

推荐答案

目前无法使用嵌入脚本强制HTML5。 通用播放器会根据设备自动选择格式。

Currently there is no way to force HTML5 with the embed script. The "universal player" automatically chooses the format based on the device.

旧的嵌入提供了强制Flash的方法,但这是唯一的另一种选择。

The old embed provides a way to force Flash, but that's the only other option.

让我们希望将来的选择。

Let's hope for the option in the future.

这篇关于强制Vimeo HTML5视频嵌入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆