1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

When I try to open Greybox - loader_frame.html file downloads

Discussion in 'JavaScript' started by chrisj, Oct 24, 2014.

  1. #1
    I'm sure this is older code, but I need help with a GreyBox.
    The php script, for a video site, that I'm using (I didn't write the script) is suppose to play the video in the box that pops up over the page, when a video thumbnail is selected. However, instead of showing the media player inside the box, a file named loader_frame.html downloads (each time). (loader_frame.html is in located the greybox folder). Here is the script:

    <script type="text/javascript">var GB_ROOT_DIR = "/greybox/";</script>
    <script type="text/javascript" src="/greybox/AJS.js"></script>
    <script type="text/javascript" src="/greybox/AJS_fx.js"></script>
    <script type="text/javascript" src="/greybox/gb_scripts.js"></script>
    Code (JavaScript):
    I'd be glad to provide more info or files.
    Any help/guidance to remedy this, will be appreciated.
     
    chrisj, Oct 24, 2014 IP