X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fviews%2Fvideo%2Fwatch_view.php;h=9d83addbea5758534dfd0f80fb37d3cc2334674c;hb=19dcbb3149e52c88b7a38f05ef85b80db49fcb72;hp=a3ba0443c09ba180a6a465ad802b39e22dbb4f0d;hpb=e47a97763d745e654ab60c17a85d794b46734ddf;p=living-lab-site.git diff --git a/application/views/video/watch_view.php b/application/views/video/watch_view.php index a3ba044..9d83add 100644 --- a/application/views/video/watch_view.php +++ b/application/views/video/watch_view.php @@ -3,7 +3,7 @@ siteUrl = ''; -
+

- -
  • @@ -40,45 +34,60 @@
- -
-
- lang->line('ui_view') : - $this->lang->line('ui_views') ); - ?> +
+
+ lang->line('ui_uploaded_by') ?> + + lang->line('ui_on_date') ?> +
-
- lang->line('ui_like') : - $this->lang->line('ui_likes') ); - ?> -
-
- lang->line('ui_dislike') : - $this->lang->line('ui_dislikes') ); - ?> + +
+
+ lang->line('ui_view') : + $this->lang->line('ui_views') ); + ?> +
+ +
+ lang->line('ui_like') : + $this->lang->line('ui_likes') ); + ?>, + + lang->line('ui_dislike') : + $this->lang->line('ui_dislikes') ); + ?> +
+
-
- lang->line('ui_category')) - . ': '. $video['category_title'] ?> -
-
- lang->line('ui_tags')). ': ' ?> - +
lang->line('ui_category')) + . ': ' ?>
+
+ + +
+
lang->line('ui_tags')). ': ' ?>
+
$score): ?> - - + + - -
- lang->line('ui_license')) - . ': '. $video['license'] ?> +
+
+ +
+
lang->line('ui_license')).': ' ?>
+
+
@@ -97,42 +106,34 @@ }); // Switch video plugin facilities - $('#video-widget-tabs').tabs(); /*{ - ajaxOptions: { - type: "POST", - data: { url: "" }, - error: function(xhr, status, index, anchor) { - $(anchor.hash).html('Could not load the video plugin.'); - } - } - });*/ + $('#video-widget-tabs') + .tabs(); $('#switch-to-ns-html5') .click(function() { - // TODO switch video plugin - console.log('switch-to-ns-html5'); + $('#video-widget') + .nsvideo('type', 'ns-html5'); }); $('#switch-to-ns-vlc') .click(function() { - // TODO switch video plugin - console.log('switch-to-ns-vlc'); + $('#video-widget') + .nsvideo('type', 'ns-vlc'); }); - + // Video widget - $('#video-widget').nsvideo({ - type: "", - definition: - "", - src: { - - } - }); + $('#video-widget') + .nsvideo({ + type: "", + src: , + //width: videoWidth, + //height: videoHeight + minWidth: 640, + maxWidth: 1024, + initialDuration: "", + + resize: function() { + $('#video-widget-tabs') + .css('width', $('#video-widget').css('width')); + } + }); }); \ No newline at end of file