10845 Posts in 2516 Topics by 1792 members
|Go to End||Next >|
13 June 2012 at 5:10am
Is your site live somewhere that I could access and review?
13 June 2012 at 5:30am Last edited: 13 June 2012 5:32am
Hi Jeramie, looks exactly the same as far as I can see:
<a params="lightwindow_width=640,lightwindow_height=390,lightwindow_loading_animation=false" href="http://www.youtube.com/v/zq_QtIvAskI?version=3&f=playlists&app=youtube_gdata&rel=0" class="lightwindow">
<img src="http://i.ytimg.com/vi/zq_QtIvAskI/0.jpg" alt="" width="100" height="75">
This is on a log in area of the site but I made one of the pages public so you could take a look. However, when I log out of the site something funny happens and no videos show. I'll look at it now and post a link in a mo when it works!
Thanks again for helping!
13 June 2012 at 6:24am
Is there a reason you are calling the jquery file from inside your mysite folder rather than the one included in the CMS. It appears that its being called inherently for the page type. Try and take out the requirement statement and do a dev/build?flush=all
13 June 2012 at 8:09am
Great spot Jeramie, I expect there was a reason I had that requirement in my page.php at some point, but I can't for the life of me think what it would have been. It was probably a copy-paste job from someone's forum post back when I had even less clue of what I was doing with SilverStripe than I do now! Anyway, removing it fixed my lightwindows, many many thanks!
13 June 2012 at 8:32am
Awesome, glad to help. Good luck with the site going forward!
14 June 2012 at 11:37pm
Thanks Jeramie... I'm afraid I have a further question though (you have become a victim of your own helpfulness!)!
I think it's possible that superfluous js requirement from my page.php might have had something to do with a failed attempt to get the video gallery working on iphones and ipads. Now that, thanks to you, I have my lightbox back, I don't want to go back to ugly full screen non popup videos just so they'll load in the iDevice youtube app. However, the site is likely to be used quite a lot on these devices and as it stands they'll show a lightbox but no video.
I don't have masses of time to sort this out so ideally I am looking for a fairly simple solution. My previous attempt I think tried to auto-detect the device but I never got it working or even close. The other thought I had was to use HTML5 so that ipads etc can play the video within the lightbox (preferable to using it's youtube app), but I'm not sure if this is doable or how to accomplish it using the youtube gallery module as in using the api there is no conventional youtube link or embed code...I think?
As always any help would be much appreciated, otherwise I am back to ugly full screen vids
20 June 2012 at 2:00pm
Hi, I have this module working but could someone help me get the pagination to work?
The code below is in the YoutubeGallery.ss file.. what's needed to make the page numbers etc. show?
<span class="results">($YoutubeVideos.Count Videos)</span>
Thanks for any help.
|Go to Top||Next >|