]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
basic video playback support using VideoJS
[friendica.git] / boot.php
index cf4a7abfb66b23c96aeebe84ac4fcba50bea275b..adcb7534aa1037a3fcaf806fd807d74ad6cfb4b5 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1956,6 +1956,13 @@ if(! function_exists('profile_tabs')){
                                'title' => t('Photo Albums'),
                                'id' => 'photo-tab',
                        ),
+                       array(
+                               'label' => t('Videos'),
+                               'url'   => $a->get_baseurl() . '/videos/' . $nickname,
+                               'sel'   => ((!isset($tab)&&$a->argv[0]=='videos')?'active':''),
+                               'title' => t('Videos'),
+                               'id' => 'video-tab',
+                       ),
                );
        
                if ($is_owner){