Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Resource Page Video Thumbnail Problem

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 2169 Views
  • FireMe!
    Avatar
    Community Member
    74 Posts

    Resource Page Video Thumbnail Problem Link to this post

    Hi

    I'm using the resource page as a video gallery, but have a problem with calling the thumbnail view and popup in my templates. when I call the flash player it works fine, but the thumbnail just gives me a white screen, I checked my php error log and this is the error.

    PHP Fatal error: Call to a member function CroppedImage() on a non-object in /Applications/MAMP/htdocs/site1/dataobject_manager/code/flv/FLV.php on line 272

    Which is this thumbnail line

    'Thumbnail' => $this->VideoThumbnail()->CroppedImage($thumb_width, $thumb_height),

    Any ideas what would cause this?

    Thanks in advance

    FireMe

  • UncleCheese
    Avatar
    4085 Posts

    Re: Resource Page Video Thumbnail Problem Link to this post

    You've confirmed that FFMPEG is installed and working correctly?

  • FireMe!
    Avatar
    Community Member
    74 Posts

    Re: Resource Page Video Thumbnail Problem Link to this post

    Nope, I have not got FFMPEG installed. I don't think the server the site will be on, Will have it. Will this be a problem? Ive converted all the videos so that they are FLV so they would not need the FFMPEG to convert them, So does this mean they still need it?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Resource Page Video Thumbnail Problem Link to this post

    Yeah, you can't generate a thumbnail without FFMPEG. I would stick to the $Player UI rather than using the popup, because the popup requires a thumbnail.

  • FireMe!
    Avatar
    Community Member
    74 Posts

    Re: Resource Page Video Thumbnail Problem Link to this post

    I have found out if I manually put a jpg image thumbnail in the folder, It uses that. Is there a way so when uploading a video, It has 2 steps select video(FLV) and select Thumbnail(JPG), So that the jpeg gets saved as the same name as the video in the thumbnail folder. If its possible this would be a good alternative for people that do not have server access, like shared hosting accounts.

    Thanks in advance

  • UncleCheese
    Avatar
    4085 Posts

    Re: Resource Page Video Thumbnail Problem Link to this post

    Yup. That's in the works.

  • FireMe!
    Avatar
    Community Member
    74 Posts

    Re: Resource Page Video Thumbnail Problem Link to this post

    cool is there a timescale on that?

  • NickJacobs
    Avatar
    Community Member
    144 Posts

    Re: Resource Page Video Thumbnail Problem Link to this post

    Hi FireMe.....I'm trying to get this to work urgently...any tips on the filename/format for manually putting the thumbnail in...I can't seem to get it working

    2169 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.