开发者

obj.playVideo is not a function error in firebug

I am using this code :

var obj = swfobject.getObjectById("myytplayer");

console.debug(obj);

obj.playVideo();

//obj.pauseVideo();

When I run this, I get an error like:

obj.playVi开发者_StackOverflow中文版deo is not a function

What am I doing wrong?


swfobject is not a native JS object available in any browser. You need to include a file/JS script that holds definition of swfobject, I guess the file is named swfobject.js, look around your desk you will find it


I solve that problem.

When i deploy my web page on iis it's works fine. so for that problem just host your webpage and it's works fine

tnx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜