douxiong1994 2014-05-27 07:04
浏览 188

Flowplayer抛出错误:Uncaught Flowplayer无法访问元素

In my project, I am displaying video in many pages. But in one page it is throwing error as

Uncaught Flowplayer cannot access element: flowplayer flowplayer-3.2.13.min.js:22
b flowplayer-3.2.13.min.js:22
window.flowplayer.window.$f flowplayer-3.2.13.min.js:22
(anonymous function)

I saw lot of posts related to the same and tried according to them. But yet not able to solve this. I am sharing the part of code which is related to the flowplayer.

Code:

<script src="<?php echo base_url()?>js/flowplayer-3.2.13.min.js"></script>
<script>

    $f("flowplayer", {
    src:"<?php echo base_url()?>js/flowplayer-3.2.18.swf",
    wmode: "opaque"
},{
  clip: {

    autoPlay : "true",
    autoBuffering : "true",
    onStart: function() {
        return true;
      },

      onPause: function() {

      },

      onResume: function() {
      },

      onFinish: function() {

      }
  },
  });
</script>

<div class="video_playinga right">
    <div class="video_playinginner">
         <div class="video_frame">
            <div class="videoarea"> </div>
                <div class="shadow_v">
                <a href="<?php echo base_url()?>secure/1/teamwork.mp4" class="fplayer" id="flowplayer"></a>
            </div>
          </div>
    </div>
</div>

I don't know whether these divs are making the problem. Can anyone help me to solve this?

Thanks in advance.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 求用stm32f103c6t6在lcd1206上显示Door is open和password:
    • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
    • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
    • ¥15 谁有desed数据集呀
    • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
    • ¥15 关于#hadoop#的问题
    • ¥15 (标签-Python|关键词-socket)
    • ¥15 keil里为什么main.c定义的函数在it.c调用不了
    • ¥50 切换TabTip键盘的输入法
    • ¥15 可否在不同线程中调用封装数据库操作的类