2021-09-09 15:10:22 +00:00
|
|
|
import IconSVG from "./icon.svg";
|
2022-01-21 10:19:10 +00:00
|
|
|
import Widget from "./widget";
|
2021-09-09 15:10:22 +00:00
|
|
|
|
|
|
|
|
export const CONFIG = {
|
|
|
|
|
type: Widget.getWidgetType(),
|
|
|
|
|
name: "Video",
|
|
|
|
|
iconSVG: IconSVG,
|
|
|
|
|
needsMeta: true,
|
2022-06-17 03:12:47 +00:00
|
|
|
searchTags: ["youtube"],
|
2021-09-09 15:10:22 +00:00
|
|
|
defaults: {
|
2022-01-21 10:19:10 +00:00
|
|
|
rows: 28,
|
|
|
|
|
columns: 24,
|
2021-09-09 15:10:22 +00:00
|
|
|
widgetName: "Video",
|
2021-11-02 04:17:49 +00:00
|
|
|
url: "https://assets.appsmith.com/widgets/bird.mp4",
|
2021-09-09 15:10:22 +00:00
|
|
|
autoPlay: false,
|
|
|
|
|
version: 1,
|
2021-12-14 07:55:58 +00:00
|
|
|
animateLoading: true,
|
2022-10-07 06:17:04 +00:00
|
|
|
backgroundColor: "#000",
|
2021-09-09 15:10:22 +00:00
|
|
|
},
|
|
|
|
|
properties: {
|
|
|
|
|
derived: Widget.getDerivedPropertiesMap(),
|
|
|
|
|
default: Widget.getDefaultPropertiesMap(),
|
|
|
|
|
meta: Widget.getMetaPropertiesMap(),
|
|
|
|
|
config: Widget.getPropertyPaneConfig(),
|
2022-08-04 05:31:05 +00:00
|
|
|
contentConfig: Widget.getPropertyPaneContentConfig(),
|
|
|
|
|
styleConfig: Widget.getPropertyPaneStyleConfig(),
|
2021-09-09 15:10:22 +00:00
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Widget;
|