mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +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;
|
return et2_video;
|
||||||
}(et2_core_baseWidget_1.et2_baseWidget));
|
}(et2_core_baseWidget_1.et2_baseWidget));
|
||||||
|
exports.et2_video = et2_video;
|
||||||
//# sourceMappingURL=et2_widget_video.js.map
|
//# sourceMappingURL=et2_widget_video.js.map
|
@ -49,7 +49,7 @@ import {WidgetConfig} from "./et2_core_widget";
|
|||||||
*
|
*
|
||||||
* @augments et2_baseWidget
|
* @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 = {
|
static readonly _attributes: any = {
|
||||||
"video_src": {
|
"video_src": {
|
||||||
@ -101,7 +101,7 @@ class et2_video extends et2_baseWidget implements et2_IDOMNode
|
|||||||
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_video._attributes, _child || {}));
|
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_video._attributes, _child || {}));
|
||||||
|
|
||||||
//Create Video tag
|
//Create Video tag
|
||||||
this.video = jQuery(document.createElement("video"));
|
this.video = jQuery(document.createElement("video"));
|
||||||
if (this.options.controls)
|
if (this.options.controls)
|
||||||
{
|
{
|
||||||
this.video.attr("controls", 1);
|
this.video.attr("controls", 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user