灰盒+ Flow播放器问题
嘿,我在这里遇到了一个大问题,即使按照此处给出的教程的每个步骤将视频放在弹出的灰盒上.. 教程
现在,唯一的我所做的更改是我在graybox 文件夹中有一个名为graybox 的文件夹,其中包含JS 和css 文件。
所以我的脚本代码是这样的..
<script>var GB_ROOT_DIR = "/greybox/";</script>
<script type="text/javascript" src="greybox/greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="greybox/greybox/gb_scripts.js"></script>
<link href="greybox/greybox/gb_styles.css" rel="stylesheet" type="text/css" />
有一个名为 video 的文件夹,其中有一个名为 video.flv 的视频。
现在我已经链接了一个要打开的文本,如教程中所示..代码是
<a title="Noodle Demo" href="player.html?filename=videos/noodle.flv">Demo</a>
当我单击网页上的链接时,窗口会在右侧打开,但窗口显示找不到页面..我也有所需的player.html这是教程中的复制粘贴,我已经更改了 Flowplayer 等所有必需的版本号。请帮助我。
Hey all I am having a huge problem here evenafter following every step of the tutorial given here to put in a video on a popup greybox ..
The tutorial
now, the only change i have made is i have a folder inside the folder graybox called graybox which holds the JS and css files.
so my script code reads like this ..
<script>var GB_ROOT_DIR = "/greybox/";</script>
<script type="text/javascript" src="greybox/greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="greybox/greybox/gb_scripts.js"></script>
<link href="greybox/greybox/gb_styles.css" rel="stylesheet" type="text/css" />
there is a folder called video which has a video called video.flv.
now I have linked a text to open as shown in the tutorial .. the code is
<a title="Noodle Demo" href="player.html?filename=videos/noodle.flv">Demo</a>
when i click on the link on the web page the window opens up right but the window reads page not found .. I have the required player.html too and that is a copy paste from the tutorial, i;ve changed all the required version numbers of flowplayer etc. Please help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 rel 标签。 :)
上帝保佑教程。为了更好地居中,您可以通过 jQuery 获得网站的中间位置。
但它需要来自 jquery 网站 的 jquery。
Use the rel tag. :)
<a rel="gb_page_center[560, 450]" href="player.html?filename=videos/noodle.flv">
God bless tutorials. For better centering you can get the middle of the site by jQuery for example.
But it requires jquery from jquery website.