• Resolved ov10fac

    (@ov10fac)


    I have installed Lightbox and Colorbox plugin. I am trying to load a video into the light box activated by a button. Here is the code I am using:

    <a href="/wordpress/wp-content/uploads/2015/12/SkyDiving-001.mpeg">Sky diving Video</a> <a href="/our-work">Our Work</a>

    Popup is the secondary class name. Everything works except that when the video starts it starts like any other video in a box on my screen, but not in the lightbox frame.

    I have searched and not found any guidance on what might be going on. The only think I can think of is Lightbox doesn’t support mpeg files, so defaulting to browser video player?

    Thanks for any help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    I don’t see class name anywhere in your link to the video to activate the Lightbox. Normally you would have code that resembles something like this;

    Sky diving Video Our Work

    Unless I’m missing something here ?? what’s the URL where this code sits, so we can take a look.

    Thank you,

    Thread Starter ov10fac

    (@ov10fac)

    `<a href=”https://192.168.10.221/wordpress/wp-content/uploads/2015/12/SkyDiving-001.mpeg&#8221; class=”popup button primary-button”>Watch the Video</a> <a href=”/our-work” class=”button secondary-button”>Our Work</a>

    Sorry, here is the actual code. Not sure why it didn’t copy before.

    I’m thinking that maybe I need to add my server to the whitelist?

    The site is on a private server behind a firewall. I haven’t moved it to a public server yet. I’m still trying to learn WordPress.

    Hi,

    Sorry forgot to add my tags too ??

    Ummm which Lightbox are you using, is this direct implementation of the Lightbox or plugin? And you sure it supports video?

    Thank you

    Thread Starter ov10fac

    (@ov10fac)

    I’m using the lightbox and colorbox plugin. I can load and display youtube videos no problem. By my own video on my server will not load. Firefox keeps trying to download and display natively ignoring the lightbox frame which is opened.

    I was following a tutorial and building my site as I went along and wanted to insert my video instead of the YouTube video from the tutorial.

    The tutorial code that works is:

    <a href="https://www.youtube.com/embed/oc1HDF2AyNE" class="popup button primary-button">Watch the Video</a> <a href="/our-work" class="button secondary-button">Our Work</a>

    All I did was change the web site from youtube to my server. Very strange behavior. I even converted from mpeg to mpg format thinking it was a protocol problem, but still won’t load in the lightbox frame.

    Hi,

    I don’t see that colorbox supports anything other then YouTube and vimeo for video playback. Lightbox also would need little more then a link, it requires a player which is why your browser is trying to download the video and process it using your browser’s ability to play video. So otherwise, you haven’t implemented a playback way for your video.

    Sorry ??

    Hi,

    Maybe something similar to this you can implement;

    https://docs.afterglowplayer.com/docs/lightbox-player

    Thank you

    Thread Starter ov10fac

    (@ov10fac)

    Well, I uploaded the video to YouTube and it runs just fine. So I’m thinking lightbox only works with YouTube. Interesting.

    Sorry about that ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Light Box’ is closed to new replies.