We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Video Thumbnail - Not the same as others. [Fixed] - Video | Forum

Jeffery
Jeffery Sep 20 '13
Ok, I have looked through all the forums and googled it and frankly, I am tired of looking.  Can someone please help. I think I am just missing something, somewhere.


I did the fix for the new youtube embed code.  Everything is working, all thumbnails show up everywhere except the newsfeed.  The code that pulls the thumb for the newsfeed (I think) is this:


 if ( $thumb == "undefined" )

    {

        $thumb = $videoService->getClipDefaultThumbUrl();


        $markup  = '<div class="clearfix"><div class="ow_newsfeed_item_picture">';

        $markup .= '<a style="display: block;" href="' . $url . '"><div style="width: 75px; height: 60px; background: url('.$thumb.') no-repeat center center;"></div></a>';

        $markup .= '</div><div class="ow_newsfeed_item_content"><a href="' . $url . '">' . $title . '</a><div class="ow_remark">';

        $markup .= $content . '</div></div></div>';

    }

    else

    {

        $markup  = '<div class="clearfix ow_newsfeed_large_image"><div class="ow_newsfeed_item_picture">';

        $markup .= '<a href="' . $url . '"><img src="' . $thumb . '"></a>';

        $markup .= '</div><div class="ow_newsfeed_item_content"><a href="' . $url . '">' . $title . '</a><div class="ow_remark">';

        $markup .= $content . '</div></div></div>';

    }


The part in bold is the part that actually matters.  This code, for some reason, results in this on my newsfeed.


<div class="ow_newsfeed_item_picture"><a href="http://MYWEBSITE.COM/video/view/16"><img src="" /></a></div>

So why is the img src empty? That is the part that is frustrating the crap out of me. Thumbs work everywhere except the feed. Why is this? Am I missing something, somewhere, or is this a bug?


PLEASE HELP!

The Forum post is edited by Oxwall Software Oct 16 '13
Alia Team
Alia Sep 25 '13
Jeffery, it is a bug. We are already working on fixing it.
I will keep you posted.
Jeffery
Jeffery Sep 25 '13
Ok, thank you.  Any word on 1.6 yet? Are we getting closer?
Alia Team
Alia Oct 4 '13
Jeffery, good news =)
We have fixed the issue and have updated Video plugin.
If your CRON is configured properly, you will get a notice in your admin panel asking to update "Video" plugin in a day or two.
Omari
Omari Oct 4 '13
superb
You do not have permission to reply this topic