X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fvideos.php;h=a0c9d0d16edfeb8cd4e761a2784f02104b212799;hb=d72473fd512a63c2831b943834fae3efba3896b8;hp=4bd0ab4f3262431f6f7b0fee5f347a1247ba226e;hpb=1eaa523e611abb7ba0217da77a70837ea9547812;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index 4bd0ab4f32..a0c9d0d16e 100644 --- a/mod/videos.php +++ b/mod/videos.php @@ -361,11 +361,12 @@ function videos_content(App $a) foreach ($r as $rr) { $alt_e = $rr['filename']; /// @todo The album isn't part of the above query. This seems to be some unfinished code that needs to be reworked completely. + $rr['album'] = ''; $name_e = $rr['album']; $videos[] = [ 'id' => $rr['id'], - 'link' => System::baseUrl() . '/videos/' . $a->data['user']['nickname'] . '/video/' . $rr['resource-id'], + 'link' => System::baseUrl() . '/videos/' . $a->data['user']['nickname'] . '/video/' . $rr['hash'], 'title' => L10n::t('View Video'), 'src' => System::baseUrl() . '/attach/' . $rr['id'] . '?attachment=0', 'alt' => $alt_e,