如何以编程方式设置所有 <object> 以将 wmode 设置为不透明? [英] How do I programmatically set all <object>'s to have the wmode set to opaque?

查看:23
本文介绍了如何以编程方式设置所有 <object> 以将 wmode 设置为不透明?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户正在将视频嵌入到他的 WordPress 博客中.问题是他们有一个很大的 CSS 下拉菜单,隐藏在 Flash 视频后面.我知道将视频的 wmode 设置为不透明可以解决这个问题,但我显然需要将其应用于他们上传的每个视频,而不必转到 HTML 来添加此标签

I have a client who is embedding videos into his WordPress blog. The problem is they have a large CSS dropdown that sneaks behind the flash video. I understand that setting the video's wmode to opaque will fix this, but I obviously need this to apply to every video they upload and not have to go to the HTML to add this tag

有什么办法可以以编程方式执行此操作吗?

Is there any way I can do this programatically?

推荐答案

为了记录,需要修改两个地方:见此处.

For the record, it needs to be changed in TWO places: see here.

这篇关于如何以编程方式设置所有 <object> 以将 wmode 设置为不透明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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