Thanks very much for your help Jeramie, I am using the files you uploaded plus the thumbnail amendments and all is back to working as it was before. I wondered if you or one of the other posters could shed any light on a couple of small problems that I have had with the youtubeservice module throughout, which is that neither the pagination nor sort order ever seem to work.
If I limit the videos per page to less than the total number it just shows that number of videos, the same number as the total at the bottom of the page, and no pagination links or text.
Whatever I specify for the sort order, it never changes and I'm not sure what they are being sorted on by default.
I get the impression that this may be a YouTube thing rather than a problem with the SilverStripe module, but I'd be grateful for any further information.
Hi Jeramie, thanks for your continued help with this. I too am using SS 2.4.4. I am getting videos by playlist ID which is specific to the logged in member. In fact I have bypassed the switch statement and removed most of the cms fields so that there is no choice in this, although even if I leave the code as it was in your earlier post and just select the options I want in the back end I still get the same problems. On YouTube itself the playlists I am using all display correctly by descending date, showing the newest first. However on my SS site they display the other way, oldest to newest, whatever sort option I select, and I never get more than one page of videos in playlists that consist of more videos than the maximum number per page. I did see something in youtubeservice.php that suggests that if you sort by a field that isn't in the YouTube video information feed no more than one page can be displayed so I wonder if this is affecting the pagination, but I'm at a loss with the sort order thing. Any help greatly appreciated as ever! I will try to get infront of a computer and paste the relevant code.
My apologies for missing everyone's emails on this. I haven't spent any time with this module in a while and will have to re-familiarize myself with it. Give me a few days to take a look and will let you all know something more in depth.
@LisaB I will see if I can figure out the pagination issues, but it may be a question for the module maintainers (Willr and crew)
@davidM2010 I would try whats mentioned in this link http://silverstripe.org/general-questions/show/16081
@Bettsaj What version of SS are you using? Where did you download the module from? The last copy that I had working I posted here http://www.silverstripe.org/all-other-modules/show/14038 That was on version 2.4.3 I believe.
Hi, i'm using SS 2.4.5 and it would appear that I'm using module version 0.2. I downloaded it from the extensions page on this site. I did see the version that you've mentioned above... is that the same release as the one on the downloads page? if not, can i just upload it and perform a dev/build to overwrite or do I have to drop tables etc?
You can view the page by visiting the site and clicking the "videos" menu button. You'll see exactly what i'm getting.
You should be able to just download it and then upload it. I would remove the old module first and then upload the one that I uploaded. It is a modified version of the module on the downloads page. I havent personally tested in on 2.4.5, only on 2.4.3 so it may need some tweaking.
I spent some time with this this weekend and I think the pagination issue mentioned by @LisaB is beyond what I can resolve. My apologies.