- This topic has 3 replies, 2 voices, and was last updated 10 years, 11 months ago by Bartosz.
-
AuthorPosts
-
12 February 2014 at 17:38 #2670Evan ThorpeParticipant
Hi,
Loving this plugin so far! Thanks for creating it. I’m using Swipebox for displaying videos on my portfolio. On one product page I might have links to to 3-4 YouTube videos that I want to have opened with Swipebox. It’s opening fine, but I’m running into a couple issues:
a. the first video to open looks like it’s part of a gallery, you can advance it to the next video, but it’s just the same video 3 times. Then, the other videos on the page aren’t part of any gallery…they can’t be advanced back and forth. I’d love for the three videos to be tied together in a gallery that you can easily swipe or click through.
b. autoplaying the video: I know you can use ?autoplay=1 to autoplay a video, but Swipebox doesn’t take the “embed” YouTube code, just the “watch” URL from your browser. If I use the “embed” code YT gives, it doesn’t open anything when Swipebox is selected. The “general” url from your browser window has the video work just fine, but any additional embed codes (autoplay, auto hq videos, ect) don’t work with that url.
Anyways, those are a couple issues, hoping someone can help with these. Here’s the URL to the page where there are 3 videos all using Swipebox:
21 February 2014 at 12:25 #2858BartoszKeymasterEven, I looked at you site.
You can make all those 3 videos at the bottom to be displayed as a video gallery (with navigation). I’m not sure how the rel attribute is generated at your site (I think there might be a custom filter used), so it would be best if you added rel attribute to those video links manually in your theme. All those videos should have it set to rel=lightbox[gallery-1]”
Please confirm if it works for you.
When it comes to the b) point. Swipebox is a bit limited here, but if it gets updated we’ll push a new release ASAP.
21 February 2014 at 16:17 #2870Evan ThorpeParticipantThanks for the reply, Bartosz!
I went ahead and added those “rel” links in there and it still isn’t connecting the three video links together into a gallery. It’s still just displaying each of the videos separately without being able to cycle through them. You can see the specific page here: http://www.labargemedia.com/aldi
Not sure what else I might be doing wrong. Here’s the code:
<a rel="lightbox[gallery-1]" href="http://www.youtube.com/watch?v=Tib1PidJQL0"><img alt="aldi1" src="http://labargemedia.com/labargemedia/wp-content/uploads/2014/02/kim.png" width="200" height="130" /></a>
The only difference is obviously the YouTube link and the link to the image for reach of the videos.
24 February 2014 at 20:34 #2913BartoszKeymasterEvan, link look like that: rel=”lightbox[gallery-1] lightbox-video-0″ – just check on the frontend of the site.
My answer is still the same (I’m even more convinced now that it might be a function in your theme modifying those links) -
AuthorPosts
- You must be logged in to reply to this topic.