Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – Linking Directly to YouTube
Tagged: videolightbox, youtube, youtube fancy lightbox
- This topic has 17 replies, 7 voices, and was last updated 13 years, 4 months ago by Ivy.
-
AuthorPosts
-
April 13, 2011 at 3:28 am #3174brianMember
I installed the plugin and activated it.
I used the shortcodes to test it on two of my test blogs and the recurring problem is that the text link or image link will link directly to YouTube instead of poping up in a lightbox.
In the plugin settings, I’ve checked all the boxes to make sure each type of lightbox is active.
Please advise what I should do different.
Here’s a link to the test post:
April 13, 2011 at 4:31 am #31273amin007ParticipantTwo issues:
1) Your YouTube video URL is not correct. Following should be the correct video URL for the Youtube video:
[wp_lightbox_prettyPhoto_anchor_text_video link=”http://www.youtube.com/watch?v=lJUunbOqJ90″ width=640 height=510 text=”Click here to open the Youtube video” description=”Video description goes here”]
2) You have a plugin called “WP PNGFIX” or something similar which is loading a separate JQuery library (this a big no no according to WordPress’s coding guideline)
<script type="text/javascript" src="http://brilliantnotes.com/blog/wp-content/plugins/wp-pngfix/jquery.js"></script>
Please read the 3rd example from this article to understand the issue:
Deactivate that plugin then try using the shortcode I have given you in step 1.
May 19, 2011 at 10:52 pm #31274johnzenaSpectatorI am having an issue with the following from YouTube. My source code is as follows:
[wp_lightbox_fancybox_youtube_video link=”http://www.youtube.com/embed/Mjab_aZsdxw” title=”How Gzip Works” source=”http://www.freeseoinformationblog.com/images/seo/gzip/Google-Website-Compression-Video.png”%5D but when I click on the image it just opens up a white box and doesn’t play the video, I also tried the colorbox with the same luck, the video doesn’t play. I only have the fancybox activated as of now so there will be no interference. The url of the video is: http://www.youtube.com/watch?v=Mjab_aZsdxw and the website I am using it on is: http://www.freeseoinformationblog.com/?p=960. Below this I have put the regular embed code from YouTube on the page and it works fine, you can see I am using the correct url.
Thanks John
May 20, 2011 at 1:49 am #31275wpCommerceModeratorYou have a slight mistake in the video URL for this shortcode. Use the following:
[wp_lightbox_fancybox_youtube_video link=”http://www.youtube.com/watch?v=Mjab_aZsdxw” title=”How Gzip Works” source=”http://www.freeseoinformationblog.com/images/seo/gzip/Google-Website-Compression-Video.png”%5D
June 19, 2011 at 11:04 pm #31276johnzenaSpectatorI am having another problem displaying a youtube video. I used the following codes:
[wp_lightbox_colorbox_video link=”http://www.youtube.com/embed/JTzMqm2TwgE” title=”The About the Economy” source=”/images/general-opinions/the-truth-of-the-american-economy-robert-reich.jpg”]
[wp_lightbox_colorbox_video link=”http://www.youtube.com/watch?v=JTzMqm2TwgE” title=”The About the Economy” source=”/images/general-opinions/the-truth-of-the-american-economy-robert-reich.jpg”]
[wp_lightbox_fancybox_youtube_video link=”http://www.youtube.com/watch?v=JTzMqm2TwgE” title=”How Gzip Works” source=”/images/general-opinions/the-truth-of-the-american-economy-robert-reich.jpg”]
and none of them work, they either send me to youtube or open up my source image. I even used the code you gave me above and substituted the following link as you can see above. As far the rules go in the wp-ultimate-shortcodes-by-library-type pdf file says to use the src=”” link in the embed code from the video (here is the code):
<iframe width=”560″ height=”349″ src=”http://www.youtube.com/embed/JTzMqm2TwgE” frameborder=”0″ allowfullscreen></iframe> and when I use that code it does not work either. This thing is driving me crazy.
It doesn’t matter which lightbox effect i use none of them work, they all do the same thing, either send me straight to the video on youtube or open up the image file.
Thanks for your help;
John
June 19, 2011 at 11:05 pm #31277johnzenaSpectatorI forgot here is the webpage the video is on: http://www.liberal-economics.com/?p=1118
June 19, 2011 at 11:50 pm #31278wpCommerceModeratorI just had a look. The first video on that page is working fine. But in the second one you are using the wrong format of URL – http://www.youtube.com/watch?v=JTzMqm2TwgE.
You need to specify the “iframe src” of that video (e.g. – http://www.youtube.com/embed/JTzMqm2TwgE) in the link attribute of the shortcode(like you did with the first one).
Please note that only for PrettyPhoto and Fancybox shortcodes you can use the Youtube video link in the following format –
But For Colorbox shortcode you need to use the “iframe src” value of that video(as explained in the shortcode reference guide). For example –
June 20, 2011 at 2:17 am #31279johnzenaSpectatorThe video is playing but it seems like I am on youtubes website. It isn’t a small window like on my other website. The window completely opens a new tab in my browser and the link is the youtube video link up in the tools bar. Why am I not just getting a regular sized video screen? That is even on the first one. They are all popping up in a brand new window. Thanks again, John.
June 20, 2011 at 2:35 am #31280johnzenaSpectatorDisregard my last message. Everything is working fine now after doing some updates on my computer. All of them are working just fine.
John.
July 20, 2011 at 10:25 am #31281AljohnsonMemberHi there I have just purchased the Ultimate Lightbox PLugin, I am having trouble getting it to work also! I am following your instructions to the T but the video just opens up in YouTube not in the fancy box, I am using some jquery on the site for twitter feeds etc but it is all enqeued correctly, would it be a conflict in the jQuery? I have put a demo post up on my site for you to see what I mean, http://www.jukeboxmama.co.uk/2011/07/video-viewer/
I certainly hope you can help! Cheers
Regards
Alex Johnson
July 20, 2011 at 10:31 am #31282AljohnsonMemberHey dude, so sorry! I have worked it out, I hadnt got my javascript in non-conflict mode! What a silly boy!
Awesome plugin, sorry to trouble you.
Regards
Alex
July 21, 2011 at 11:29 pm #31283hendraMemberHi, I am facing the problem as Brian have 3 months ago. In my web I am also using popup domination. Is there any conflict ? where and how should I put the shortcode as you said ? Need your help to solve this. Many Thanks.
Regards, Hendra
July 21, 2011 at 11:56 pm #31284hendraMemberContinuing my previous message, I’ve got the point regarding the shortcode that I should put in the post. However the problem still exist. I need to use current wp-template and the others plug-in, since there are no problem with the others plugin and all works fine using the template. I need your assistance to solve this out. Please take a look at http://www.mypxlife.com and I’ve put the shortcode at “Career of Love” post using the picture “ideas that work”. Again, many thanks in advance.
Regards
Hendra
July 22, 2011 at 12:17 am #31285amin007ParticipantPlease post a link to the exact page in question (not just the home page URL) were we can go and click on the anchor to see the issue.
I am not sure if that other plugin addressed the JQuery issue explained here:
Once you give us a link to the exact page we will be able to view the HTML code and figure it out.
July 22, 2011 at 6:18 am #31286hendraMemberThanks for your prompt response,
This is the link : http://www.mypxlife.com/?p=49
-
AuthorPosts
- You must be logged in to reply to this topic.