aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/videolist')
-rw-r--r--views/default/videolist/css.php118
-rw-r--r--views/default/videolist/group_video_header.php22
-rw-r--r--views/default/videolist/groupprofile_videolist.php47
-rw-r--r--views/default/videolist/icon.php36
-rw-r--r--views/default/videolist/watch/metacafe.php15
-rw-r--r--views/default/videolist/watch/vimeo.php7
-rw-r--r--views/default/videolist/watch/youtube.php7
7 files changed, 0 insertions, 252 deletions
diff --git a/views/default/videolist/css.php b/views/default/videolist/css.php
deleted file mode 100644
index 93069181a..000000000
--- a/views/default/videolist/css.php
+++ /dev/null
@@ -1,118 +0,0 @@
-<?php
-/**
- * Elgg Candidate Profile Video Plugin
- * This plugin allows users to create a library of youtube videos
- *
- * @package ElggProfile
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Prateek Choudhary <synapticfield@gmail.com>
- * @copyright Prateek Choudhary
- */
-?>
-
-.videolist_error{
- color:red;
- font-weight:bold;
-}
-
-/* video listing */
-.video_entity .entity_listing:first-child {
- border-top:0;
-}
-.entity_listing_icon .video_icon {
- width:150px;
- height:95px;
- display:table-cell;
- text-align:center;
- vertical-align: middle;
- background-color: black;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
-}
-.video_entity .entity_listing_info {
- width:560px;
- margin-left:15px;
-}
-
-/* single video view page */
-.video_view {
- text-align: center;
- margin-top:5px;
- padding-bottom:20px;
- border-bottom:1px solid #CCCCCC;
-}
-.video_view embed {
- margin-top:20px;
-}
-.video_view .tags {
- text-align:left;
-}
-
-/* search for videos */
-#loading_search_results .ajax_loader {
- margin:10px 0;
-}
-.search_videos {
- width:100%;
- margin-top:4px;
-}
-.search_videos .submit_button {
- margin:0;
-}
-.search_videos #title_search {
- margin-left:14px;
- margin-right:14px;
-}
-
-/* find videos search results list */
-#videosearch_results .video_entity {
- padding:10px 0;
- border-top:1px dotted #CCCCCC;
-}
-#videosearch_results .video_entity table {
- width:100%;
-}
-#videosearch_results .video_actions {
- text-align: right;
- width:15%;
-}
-#videosearch_results .video_entity .entity_title {
- margin:0;
-}
-
-/* pop-up video player */
-#page_overlay {
- position: fixed;
- top: 0px;
- left: 0px;
- height:100%;
- width:100%;
- z-index:299999;
-}
-.video_popup{
- position:absolute;
- display:none;
- padding:5px 10px 10px 10px;
- background:black;
- z-index:300000;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
-}
-.close_video {
- margin-bottom:5px;
- text-align: right;
-}
-.close_video a {
- color:white;
-}
-
-/* videos group widget */
-.group_tool_widget.video .entity_listing_icon img {
- margin:0;
- width:auto;
- max-width:80px;
- height:60px;
-}
-.group_tool_widget.video .entity_listing_info {
- width:260px;
-}
diff --git a/views/default/videolist/group_video_header.php b/views/default/videolist/group_video_header.php
deleted file mode 100644
index e6d13bca3..000000000
--- a/views/default/videolist/group_video_header.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-/**
-* Page header view, when visiting a group's videos
-**/
-
-$user = page_owner_entity();
-$user_name = elgg_view_title($user->name . "'s " . elgg_echo('videos'));
-$url = elgg_get_site_url() . "videolist/browse/". $user->username . "/";
-//if the user is a memebr of the group, show find button
-if($user->isMember(get_loggedin_user()))
- $upload_link = "<a href=\"{$url}\" class='action_button'>" . elgg_echo('videolist:browsemenu') . '</a>';
-else
- $upload_link = '';
-?>
-<div id="content_header" class="clearfloat">
- <div class="content_header_title">
- <?php echo $user_name; ?>
- </div>
- <div class="content_header_options">
- <?php echo $upload_link; ?>
- </div>
-</div>
diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php
deleted file mode 100644
index 33a22ab68..000000000
--- a/views/default/videolist/groupprofile_videolist.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-/**
- * Elgg Video Plugin
- * This plugin allows users to create a library of videos for groups
- *
- * @package ElggProfile
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Prateek Choudhary <synapticfield@gmail.com>
- * @copyright Prateek Choudhary
- */
-
-?>
-<div class="group_tool_widget video">
-<span class="group_widget_link"><a href="<?php echo $vars['url'] . "videolist/owned/" . page_owner_entity()->username; ?>"><?php echo elgg_echo('link:view:all')?></a></span>
-<h3><?php echo elgg_echo("videolist:group"); ?></h3>
-
-<?php
-
-//the number of files to display
-$number = (int) $vars['entity']->num_display;
-if (!$number)
- $number = 5;
-
-//get the user's files
-$videos = elgg_get_entities(array('types' => 'object', 'subtypes' => 'videolist', 'container_guids' => page_owner(), 'limit' => $number));
-
-//if there are some files, go get them
-if ($videos) {
- foreach($videos as $f){
- $mime = $f->mimetype;
- $owner = get_entity($f->getOwner());
- $numcomments = elgg_count_comments($f);
- echo "<div class='entity_listing clearfloat'>";
- echo "<div class='entity_listing_icon'><a href=\"{$vars['url']}videolist/watch/{$f->guid}\"><img src=\"".$f->thumbnail."\" border=\"0\" width=\"85\" /></a></div>";
- echo "<div class='entity_listing_info'>";
- echo "<p class='entity_title'><a href=\"{$vars['url']}videolist/watch/{$f->guid}\">" . $f->title ."</a></p><p class='entity_subtext'><a href=\"{$vars['url']}profile/{$owner->username}\">{$owner->name}</a> ";
- echo friendly_time($f->time_created) . "</p>";
- echo "</div></div>";
-
- }
-
-} else {
- $upload_video = $vars['url'] . "videolist/browse/" . page_owner_entity()->username;
- echo "<p class='margin_top'><a href=\"{$upload_video}\">" . elgg_echo("videolist:add") . "</a></p>";
-}
-echo "</div>";
-?>
diff --git a/views/default/videolist/icon.php b/views/default/videolist/icon.php
deleted file mode 100644
index 36b30e5ca..000000000
--- a/views/default/videolist/icon.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * Elgg tidypic icon
- * Optionally you can specify a size.
- *
- * @package ElggFile
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.com/
- */
-
-if($vars['videolist']){
- echo "<img src=\"".elgg_get_site_url()."mod/videolist/graphics/icons/Video_Icon.jpg\" border=\"0\" />";
-} else {
- $mime = $vars['mimetype'];
- if (isset($vars['thumbnail'])) {
- $thumbnail = $vars['thumbnail'];
- } else {
- $thumbnail = false;
- }
-
- $size = $vars['size'];
- if ($size != 'large') {
- $size = 'small';
- }
-
- if ($thumbnail && strpos($mime, "image/")!==false) {
- echo "<img src=\"{$thumbnail}\" border=\"0\" />";
- } else {
- if ($size == 'large') {
- echo "<img src=\"{$thumbnail}\" border=\"0\" />";
- } else {
- echo "<img src=\"".elgg_get_site_url()."mod/videolist/graphics/icons/Video_Icon.jpg\" border=\"0\" />";
- }
- }
-}
diff --git a/views/default/videolist/watch/metacafe.php b/views/default/videolist/watch/metacafe.php
deleted file mode 100644
index cfa5e02a4..000000000
--- a/views/default/videolist/watch/metacafe.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-/* TODO
-$video_id = $vars['video_id'];
-$width = $vars['width'];
-$height = $vars['height'];
-
-$path = explode("/", $videos->thumbnail);
-$path = array_reverse($path);
-$thumbnailArray = explode(".", $path[0]);
-$video_id = $video_id."/".$thumbnailArray[0].".swf";
-
-echo "<br />
-<embed src=\"http://www.metacafe.com/fplayer/".$video_id."\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" allowscriptaccess=\"always\" width=\"$width\" height=\"$height\" wmode=\"transparent\" name=\"Metacafe_".$video_id."\"></embed>";
-*/
diff --git a/views/default/videolist/watch/vimeo.php b/views/default/videolist/watch/vimeo.php
deleted file mode 100644
index caf34c1f4..000000000
--- a/views/default/videolist/watch/vimeo.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-$video_id = $vars['video_id'];
-$width = $vars['width'];
-$height = $vars['height'];
-
-echo "<iframe src=\"http://player.vimeo.com/video/$video_id?byline=0&amp;color=e11531&amp;autoplay=1\" width=\"$width\" height=\"$height\" frameborder=\"0\" webkitAllowFullScreen allowFullScreen></iframe>";
diff --git a/views/default/videolist/watch/youtube.php b/views/default/videolist/watch/youtube.php
deleted file mode 100644
index 4b62aabbc..000000000
--- a/views/default/videolist/watch/youtube.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-$video_id = $vars['video_id'];
-$width = $vars['width'];
-$height = $vars['height'];
-
-echo "<iframe width=\"$width\" height=\"$height\" src=\"https://www.youtube-nocookie.com/embed/$video_id\" frameborder=\"0\" allowfullscreen></iframe>";