# HG changeset patch
# User veltr
# Date 1368704042 -7200
# Node ID 3210bf928a118d4aacda2fee0835d80893fd6c2d
# Parent 91023037f841ca3064cfbc5b788540f90b7a8526
Enabled loading widgets without the widgeting framework
diff -r 91023037f841 -r 3210bf928a11 sbin/build/client.xml
--- a/sbin/build/client.xml Wed May 15 16:22:37 2013 +0200
+++ b/sbin/build/client.xml Thu May 16 13:34:02 2013 +0200
@@ -21,10 +21,6 @@
-
-
-
-
@@ -36,6 +32,10 @@
+
+
+
+
diff -r 91023037f841 -r 3210bf928a11 src/js/html-player.js
--- a/src/js/html-player.js Wed May 15 16:22:37 2013 +0200
+++ b/src/js/html-player.js Thu May 16 13:34:02 2013 +0200
@@ -13,7 +13,9 @@
videoEl.attr({
width : opts.width || undefined,
- height : opts.height || undefined
+ height : opts.height || undefined,
+ controls : opts.controls || undefined,
+ autoplay : opts.autostart || opts.autoplay || undefined
});
if(typeof videoURL === "string"){
@@ -31,10 +33,6 @@
jqselector.html(videoEl);
- if (opts.autostart || opts.autoplay) {
- videoEl.attr("autoplay", true);
- }
-
var mediaEl = videoEl[0];
// Binding HTML video functions to media events
diff -r 91023037f841 -r 3210bf928a11 src/js/libs/mustache.js
--- a/src/js/libs/mustache.js Wed May 15 16:22:37 2013 +0200
+++ b/src/js/libs/mustache.js Thu May 16 13:34:02 2013 +0200
@@ -1,436 +1,536 @@
-/*
- mustache.js — Logic-less templates in JavaScript
+/*!
+ * mustache.js - Logic-less {{mustache}} templates with JavaScript
+ * http://github.com/janl/mustache.js
+ */
- See http://mustache.github.com/ for more info.
-*/
+/*global define: false*/
-var Mustache = function () {
- var _toString = Object.prototype.toString;
+(function (root, factory) {
+ if (typeof exports === "object" && exports) {
+ factory(exports); // CommonJS
+ } else {
+ var mustache = {};
+ factory(mustache);
+ if (typeof define === "function" && define.amd) {
+ define(mustache); // AMD
+ } else {
+ root.Mustache = mustache; //
+
+
+
+
+
+
+
+
+
+ Loading a Widget without the Metadataplayer widgeting framework
+
+
+
+