本文介绍了在Bootstrap模式中嵌入标签在FireFox中不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Bootstrap Modal to Play视频中使用< embed> 标记(使用vlc(2.1.3)插件和flash进行测试)。它在Chrome,Safari和Opera中运行良好,但在Firefox中,视频不显示,但在后台运行,我可以听到音频,但无法看到视频。我把z-index设置为更高的值,但没有用。谷歌搜索了很多,但无法找到答案,任何帮助,将不胜感激。

类似的问题在这里:

解决方案 $(#myModal)。modal('show');插件不可见



从弹出菜单中删除淡出类

 < ; div class =modal fadeid =myModal> 

< div class =modalid =myModal>

并将javascript更改为

  $(#myModal)css(display,block); 

现在这个插件可见了

I不知道技术细节,但问题是在淡出CSS类和显示方法

I have an <embed> tag inside Bootstrap Modal to Play video(tested with both vlc(2.1.3) plugin and flash). It is working fine in Chrome, Safari and Opera, but in Firefox, the video is not displaying but it is running in the background, I could hear the audio, but not able to see video. I set z-index to higher value but no use. Googled a lot, but can not find an answer, any help would be appreciated.

similar issue here : Issue using Flash within bootstrap 3 modal

解决方案

if I use $("#myModal").modal('show'); the plugin is not visible

remove fade class from popup

<div class="modal fade" id="myModal">

<div class="modal" id="myModal">

and change javascript to

 $("#myModal")css("display", "block");

now the plugin is visible

I dont know the technical details, but the issue is in fade css class and show method

这篇关于在Bootstrap模式中嵌入标签在FireFox中不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 00:07