'flashvideoplayer'为null或不是对象 [英] 'flashvideoplayer' is null or not an object

查看:93
本文介绍了'flashvideoplayer'为null或不是对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个页面,除了IE之外,我尝试过的每个浏览器都能很好地运行。它使用javascript将变量传递给.swf,每当我在IE中查看它时,它都会给我这个错误:


''flashvideoplayer''为null或不是对象。


这是我正在处理的页面:
http://www.hightechhigh.org/video/index2.php


给出的功能我的问题是这样的:

展开 | 选择 | Wrap | 行号

解决方案

您在Firefox中也有错误:


flashvideoplayer.playVideo不是函数。



你有一个错误或者在Firefox中:


flashvideoplayer.playVideo不是一个函数。



谢谢。


我修正了错误原因,但发现它没有影响我的问题与IE一起使用。


由于您已将OBJECT标记的id设为videoplayer,因此请使用document.getElementById(" videoplayer")来引用它。

I have this page that works great in every browser I''ve tried except IE. It uses javascript to pass variables to a .swf and whenever I look at it in IE it give me this error:

''flashvideoplayer'' is null or not an object.


This is the page that I''m working on:
http://www.hightechhigh.org/video/index2.php

The function that is giving me problems is this:

Expand|Select|Wrap|Line Numbers

解决方案

You have an error in Firefox too:

flashvideoplayer.playVideo is not a function.


You have an error in Firefox too:

flashvideoplayer.playVideo is not a function.

Thanks.

I fixed the cause of the error but found that it did not effect the problem that I''m having with IE.


Since you''ve given the OBJECT tag an id of "videoplayer", use document.getElementById("videoplayer") to refer to it.


这篇关于'flashvideoplayer'为null或不是对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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