Hi,

when a jomsocial member posts a video url, example from youtube, it fetches video's own description, but limited to about 160 characters.

Is there a way to change the fetched characters length of a video description?

Thank you

    accithanos
    Hi
    Kindly check again there is no limit for video description, for youtube it picks the description from that video, You can still type and add the description. The full description will not show in the frontpage wall as it will make the content item so long, it will be visible when the video full view is opened : http://prntscr.com/scb7dw

    Could you please try to add a video url (with long description) on my staging site, because there is description limit that ads 3 dots at the end, as you can see on screenshot.
    I don't use "modal window" as your example, but i prefer "same window" to open videos.

    But even when i change to modal window the description is getting fetched by the same limitation.

    Thank you

      No way! How did you do it?
      The only way i can think of is edit the description afterwards and paste the whole text.
      Because the add video procedure doesn't fetch the whole description.
      Is this the way you did it?
      If yes then not accepted as a solution.
      Is there a hack i don't know about?

      Thank you

        accithanos
        Hi
        There is no hack, when you add a video URL you will see preview and description, you can edit the description of video and then publish it, it will show only on full view page view.

        Obviously i didn't make myself clear.

        So you agree that you have to edit the description because the code gets only a small portion (about 160 characters) from the original description?
        I presume that you do.
        So, I do not want my members have to edit the description, but i want the add video code can fetch (pick) at least 3 times more characters from the original description.

        We have to make tasks easier for our community members, not add more steps to do a task.

        I tried to check it on jomsocial frontend demo and the result is no title no description picked.
        So which file has the code to change the description length to be fetched (picked)?

        Thank you

          accithanos
          Hi
          In your screenshot there is no description and title, either its edited and remove or the video does not have any info to fetch, Jomsocial does not add auto description for such videos as not data present.

          About the description length kindly share the video URL that has description but Jomsocial not showing it.

          The video i added in jomsocial demo has title and description on youtube, but jomsocial demo didn't fetch it.

          If you add this or any video on jomsocial demo then no title and description is fetched although there are title and description on youtube.

          But i don't have a problem with jomsocial demo. I mentioned it because i thought it could help to my problem, but it didn't.

          Up to now it is obvious that we don't understand each other.

          I will try another way.

          Steps to replicate my issue:

          1) copy a video url of a youtube video with a title and a long description eg https://www.youtube.com/watch?v=8zsBaFTRprk

          2) login my staging site and add this url as a video. After a while you see the video thumbnail, the video title, and only the 160 characters of the whole 2983 characters video description.
          3) choose any category
          4) click post

          Result: The fetched video description has a portion of about 160 characters of the whole description.

          Wanted Result: The fetched video description has a portion of about 500 characters of the whole description.

          Any suggestions? Please don't tell me again to edit the description, i don't want this solution. I would like to know the file that has this 160 characters limitation so i can change the number to a higher one.

          Thank you

            accithanos Hi
            I got what you mean by it.
            I raised a support ticket to development team to check this option for increase limits.
            I will update you once i have information from dev team.

            6 days later

            accithanos
            Hi,
            Joms get video description by use its meta tags. But youtube video provides only 160 characters in description. SO it makes your issue.

            We have to work around to achieve your request. Use this path and override to

            components\com_community\libraries\videos\youtube.php line 129 to 135
            components\com_community\tables\video.php line 128

            youtube.zip
            7kB

            Remember, this patch won't release with next joms version because it's not officially supported by youtube.

              Ninja locked the discussion.
              Write a Reply...
              You need to Login to view replies.