mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Make video widget extendable
This commit is contained in:
parent
da806d33f5
commit
c6200f9969
@ -174,4 +174,5 @@ var et2_video = /** @class */ (function (_super) {
|
||||
};
|
||||
return et2_video;
|
||||
}(et2_core_baseWidget_1.et2_baseWidget));
|
||||
exports.et2_video = et2_video;
|
||||
//# sourceMappingURL=et2_widget_video.js.map
|
@ -49,7 +49,7 @@ import {WidgetConfig} from "./et2_core_widget";
|
||||
*
|
||||
* @augments et2_baseWidget
|
||||
*/
|
||||
class et2_video extends et2_baseWidget implements et2_IDOMNode
|
||||
export class et2_video extends et2_baseWidget implements et2_IDOMNode
|
||||
{
|
||||
static readonly _attributes: any = {
|
||||
"video_src": {
|
||||
@ -101,7 +101,7 @@ class et2_video extends et2_baseWidget implements et2_IDOMNode
|
||||
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_video._attributes, _child || {}));
|
||||
|
||||
//Create Video tag
|
||||
this.video = jQuery(document.createElement("video"));
|
||||
this.video = jQuery(document.createElement("video"));
|
||||
if (this.options.controls)
|
||||
{
|
||||
this.video.attr("controls", 1);
|
||||
|
Loading…
Reference in New Issue
Block a user