X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fviews%2Fvideo%2Fwatch_view.php;h=11662fc061c5268152d50a2da32b7b3e32e5f38a;hb=85bae784f30d1777db15f43d2e3ce04a2c3e8653;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..11662fc 100644 --- a/application/views/video/watch_view.php +++ b/application/views/video/watch_view.php @@ -3,45 +3,46 @@ siteUrl = ''; -
- - -

Invalid URL .

-

Did you mean - ?

- -

Invalid ID in URL.

- - - - -

- +
+ + +

Invalid URL .

+

Did you mean + ?

+ +

Invalid ID in URL.

+ + + + +

+ +
-
- - -
-
- - -
+
+
+ +
+
+ lang->line('ui_uploaded_by') ?> + + lang->line('ui_on_date') ?> + +
+ +
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')). ': ' ?> - $score): ?> - - - - -
- lang->line('ui_license')) - . ': '. $video['license'] ?> -
- +
+
+ +
+ +
+
lang->line('ui_category')) + . ': ' ?>
+
+
+ +
+
lang->line('ui_tags')). ': ' ?>
+
$score): ?> + + + +
+
+ +
+
lang->line('ui_license')).': ' ?>
+
+
+
+ - +
@@ -97,42 +106,35 @@ }); // 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: , + + showState: false, + + minWidth: 640, + maxWidth: 1024, + initialDuration: "", + + resize: function() { + $('#video-widget-tabs') + .css('width', $('#video-widget').css('width')); + } + }); }); \ No newline at end of file