Video Lighbox video not playing

Hi support,

I used some excellent guidance from this support thread http://forum.wpbeaverbuilder.com/support/search/video+lightbox/ to set up video lightboxes on my clients website here http://www.wannaseefestival.com/bishop-auckland/ with videos accessed from the ‘Click Here For Artist Footage’ image buttons.

The videos are all YouTube links and all work fine apart from one which will not show the video, ‘The Amazing Blues Brothers’ I’ve used the same code for all substituting the relevant bits where needed, could you give me an idea why this one is a problem:

<img

class=“aligncenter” src="http://www.wannaseefestival.com/wp-

content/uploads/2015/11/borderbutton3.png" alt="" />

<script type=“text/javascript”>// <![CDATA[
jQuery( function(){ jQuery( ‘#bluesbrothers-video’ ).magnificPopup({ type:

‘iframe’, mainClass: ‘mfp-fade’, fixedContentPos: false }); });
// ]]></script>

Thanks,

Gerry

Hey Gerry,

I’m getting an error when I click on that link which I think indicates a problem with the video you’re trying to play. Check the screenshot below for reference.
http://imgur.com/tGzjf5F

Can you try switching to a different video and see if it works?

Ben

Hi Ben,

Thanks for support.

I did try different videos from the same source with the same result.

Other videos from different sources work fine which tells me that there’s no doubt that the problem is with the videos on YouTube. Th problem is I don’t know what that that is, the client tells me he hasn’t set anything differently on these videos.

I’m sure there’s a simple answer and would be grateful id anyone could shed light on it, is there perhaps an option to prevent a YouTube video from being embedded externally that’s been applied here?

Hi Gerry,

I have never encountered that issue before. Therefore, I did some research and found this.

Let us know if this resolves your issue.

Thanks,
Danny

Hi Danny,

BB providing awesome support as usual :slight_smile:

Thanks for helping with this, I’ve had a look at the info you sent me and tried various ways of adding the embed link, i.e. with and without the iframe tags, either way I’m not able to get the video to play.

Any more thoughts or ideas from you or the team would be very welcome.

Thanks, gerry

Hi Danny,

This may be the answer, I’ve asked the client to check the YouTube account settings:

Turn off embedding for your videos
If you’ve uploaded a video and don’t want to allow others to embed your video on external sites, follow these steps:
Go to your Video Manager.
Go to the video that you want to turn off embedding for and click Edit.
Under the video, click Advanced settings.
Under “Distribution Options”, untick the Allow embedding checkbox.
Click Save changes.

Thanks, Gerry

Hi Support,

Just an update on the video issue, my client has checked his YouTube account and embedding is allowed in the settings so it seems as though there’s some other issue causing the videos not to play.

If anyone has any suggestions that would be great!

Thanks, Gerry

Hey Gerry,

I did further reading on this and it seems that setting is saved on your server? Can you check withy our hosting company and see if that’s the case?
http://stackoverflow.com/questions/6666423/overcoming-display-forbidden-by-x-frame-options

Ben

Hi Ben,

Thanks again for support with the video issue.

The problem that I’m having only occurs on certain videos, most work fine. On the same page other videos are working in the pop-up as intended. http://www.wannaseefestival.com/bishop-auckland/

I’ve put a workround in place for now in the form of a straightforward embed of the Blues Brothers video which works fine. Could there be some kind of Javascript conflict with the video and the pop-up?

Thanks, Gerry

Hey Gerry,

I could try it out on my local dev and see if it works. Can you share the embed code? Can you place it inside backticks so it doesn’t get parsed? Or maybe just place the code to gist and share the link. :slight_smile:
https://gist.github.com/

Ben

[Content Hidden]

Hi Gerry,

If the code is working, but there are videos where it is not. Then the only thing I can suggest is that the it is related to the videos themselves. Are all the videos streaming from YouTube? If so, then you may need to contact their support for further assistance.

As I have tried the code you provided on about 20 videos and all of them load up in the popup.

Thanks,
Danny

Hi Danny,

Thanks for helping, I’ve asked my customer to sort out the problem with the videos he’s supplying.

Cheers,

Gerry

Hi Gerry,

No problem and keep us posted on what the issue was with the videos.

Thanks,
Danny