projects
/
living-lab-site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uploading works, but AV info is not automatically detected and video activation featu...
[living-lab-site.git]
/
js
/
jquery.ui.nsvideo.js
diff --git
a/js/jquery.ui.nsvideo.js
b/js/jquery.ui.nsvideo.js
index
fe65927
..
2d87c07
100644
(file)
--- a/
js/jquery.ui.nsvideo.js
+++ b/
js/jquery.ui.nsvideo.js
@@
-28,7
+28,7
@@
$.widget( "ui.nsvideo", {
},
_create: function() {
},
_create: function() {
-
var
widget = this;
+ widget = this;
widget.element
.addClass( "ui-widget ui-widget-content ui-corner-all" );
widget.element
.addClass( "ui-widget ui-widget-content ui-corner-all" );
@@
-382,6
+382,8
@@
$.widget( "ui.nsvideo", {
},
_setWidgetWidth: function() {
},
_setWidgetWidth: function() {
+ var widget = this;
+
if (widget.$video.width() < 640)
{
widget.element.css('width',
if (widget.$video.width() < 640)
{
widget.element.css('width',
@@
-704,6
+706,8
@@
$.widget( "ui.nsvideo", {
},
refreshState: function() {
},
refreshState: function() {
+ var widget = this;
+
var err = "";
var normal = "";
var network = "";
var err = "";
var normal = "";
var network = "";