@brndts/brndts-ads 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,41 @@
1
+ LICENSE
2
+
3
+ BRNDTS ADS License Agreement
4
+
5
+ Version 1.0.0
6
+ Effective Date: 21/08/2024
7
+
8
+ 1. License Grant
9
+ Subject to the terms and conditions of this License Agreement ("Agreement"), BRNDTS Corp. ("Licensor") grants you, the Licensee, a limited, non-exclusive, non-transferable, non-sublicensable license to install, use, and make a single production instance of the software package named BrndtsAds ("Software") solely for internal business purposes.
10
+
11
+ 2. Restrictions
12
+ Licensee shall not:
13
+
14
+ - Distribute, sublicense, lease, rent, or otherwise make the Software available to any third party.
15
+ - Modify, adapt, translate, reverse engineer, decompile, disassemble, or create derivative works of the Software.
16
+ - Use the Software for any purpose that competes with Licensor's business.
17
+
18
+ 3. Ownership
19
+ Licensor retains all right, title, and interest in and to the Software, including all intellectual property rights therein. This Agreement does not convey any rights of ownership to Licensee.
20
+
21
+ 4. Confidentiality
22
+ The Software, including its structure, organization, and source code, constitutes valuable trade secrets of Licensor. Licensee agrees to maintain the confidentiality of the Software and not to disclose it to any third party.
23
+
24
+ 5. Termination
25
+ This Agreement is effective until terminated. Licensor may terminate this Agreement immediately upon written notice if Licensee breaches any provision of this Agreement. Upon termination, Licensee must cease all use of the Software and destroy all copies in its possession.
26
+
27
+ 6. Disclaimer of Warranties
28
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
29
+
30
+ 7. Limitation of Liability
31
+ IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE SOFTWARE, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES.
32
+
33
+ 8. Governing Law
34
+ This Agreement shall be governed by and construed in accordance with the laws of the State of Florida, without regard to its conflict of law principles.
35
+
36
+ 9. Entire Agreement
37
+ This Agreement constitutes the entire agreement between the parties with respect to the subject matter hereof and supersedes all prior agreements, whether written or oral, concerning such subject matter.
38
+
39
+ BRNDTS Corp.
40
+ 6500 SW 99th Ave, Miami, FL 33173, USA
41
+ info@brndts.com
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # BRNDTS ADS
2
+
3
+ ![NPM Version](https://img.shields.io/npm/v/%40brndts%2Fbrndts-ads)
4
+
5
+ BRNDTS harnesses the power of AI to analyze videos in real-time! It identifies optimal placements for realistic ad integration. Then, our platform seamlessly connects with your ad server to populate those placements with targeted ads.
6
+
7
+ ## Installation
8
+
9
+ You can install this package via npm:
10
+
11
+ ```bash
12
+ npm install @brndts/brndts-ads
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ Here's a quick example of how to use Brndts Ads:
18
+
19
+ ```javascript
20
+ import BrndtsAds from "@brndts/brndts-ads";
21
+
22
+ const ads = new BrndtsAds("#player", {
23
+ host: "<WE PROVIDE THIS>",
24
+ key: "<WE PROVIDE THIS>",
25
+ auth: {
26
+ host: "<WE ALSO PROVIDE THIS>",
27
+ },
28
+ });
29
+ ```
30
+
31
+ ## License
32
+
33
+ See the [LICENSE](LICENSE) file for details.
34
+
35
+ ## Support
36
+
37
+ If you have any questions or need help, feel free to open an issue or contact us at support@brndts.com.
package/dist/index.css ADDED
@@ -0,0 +1,236 @@
1
+ /* src/Ads/Regions/Region.scss */
2
+ [data-debug=true] .BRNDTS_R {
3
+ outline: 1px solid red;
4
+ box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);
5
+ }
6
+ [data-debug=true] .BRNDTS_R::before {
7
+ opacity: 0.5;
8
+ content: attr(id);
9
+ position: absolute;
10
+ height: 16px;
11
+ font-size: 8px;
12
+ top: -16px;
13
+ left: 0;
14
+ background-color: red;
15
+ padding: 4px 4px;
16
+ border-radius: 4px;
17
+ }
18
+ .BRNDTS_R {
19
+ position: absolute;
20
+ pointer-events: all;
21
+ }
22
+ .BRNDTS_R .BRNDTS_RM {
23
+ display: none;
24
+ pointer-events: none;
25
+ }
26
+ .BRNDTS_PLANE .PLANE_POINT {
27
+ position: absolute;
28
+ width: 5px;
29
+ height: 5px;
30
+ transform: translate(-50%, -50%);
31
+ border-radius: 50%;
32
+ }
33
+
34
+ /* src/Ads/Providers/BRNDTSDefaultProvider.scss */
35
+ .BRNDTS_default_content {
36
+ display: flex;
37
+ justify-content: center;
38
+ align-items: center;
39
+ background-color: whitesmoke;
40
+ border: 1px solid black;
41
+ }
42
+ .BRNDTS_default_content .box {
43
+ width: 90%;
44
+ height: 90%;
45
+ --b: 2px;
46
+ --c: black;
47
+ --w: 20px;
48
+ border: var(--b) solid rgba(0, 0, 0, 0);
49
+ --_g: #0000 90deg, var(--c) 0;
50
+ --_p: var(--w) var(--w) border-box no-repeat;
51
+ background:
52
+ conic-gradient(from 90deg at top var(--b) left var(--b), var(--_g)) 0 0/var(--_p),
53
+ conic-gradient(from 180deg at top var(--b) right var(--b), var(--_g)) 100% 0/var(--_p),
54
+ conic-gradient(from 0deg at bottom var(--b) left var(--b), var(--_g)) 0 100%/var(--_p),
55
+ conic-gradient(from -90deg at bottom var(--b) right var(--b), var(--_g)) 100% 100%/var(--_p);
56
+ }
57
+ .BRNDTS_default_content .text {
58
+ position: absolute;
59
+ top: 50%;
60
+ left: 50%;
61
+ transform: translate(-50%, -50%);
62
+ font-size: 24px;
63
+ }
64
+
65
+ /* src/Ads/Ads.scss */
66
+ [data-debug=true] #BRNDTS_ARW {
67
+ outline: 1px solid green;
68
+ box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);
69
+ }
70
+ [data-debug=true] #BRNDTS_ARW::before {
71
+ opacity: 0.5;
72
+ content: attr(id);
73
+ position: absolute;
74
+ height: 16px;
75
+ font-size: 8px;
76
+ top: -16px;
77
+ left: 0;
78
+ background-color: green;
79
+ padding: 4px 4px;
80
+ border-radius: 4px;
81
+ }
82
+ [data-debug=true] .BRNDTS_AR {
83
+ outline: 1px solid red;
84
+ box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);
85
+ }
86
+ [data-debug=true] .BRNDTS_AR::before {
87
+ opacity: 0.5;
88
+ content: attr(id);
89
+ position: absolute;
90
+ height: 16px;
91
+ font-size: 8px;
92
+ top: -16px;
93
+ left: 0;
94
+ background-color: red;
95
+ padding: 4px 4px;
96
+ border-radius: 4px;
97
+ }
98
+
99
+ /* src/UI/Controls/Controls.scss */
100
+
101
+ /* src/UI/Controls/Components/TopBar/ControlTopBar.scss */
102
+ #BRNDTS_CTLTB {
103
+ position: absolute;
104
+ top: 0;
105
+ width: 100%;
106
+ pointer-events: none;
107
+ padding-top: 12px;
108
+ padding-bottom: 10px;
109
+ padding-left: 16px;
110
+ padding-right: 16px;
111
+ }
112
+ #BRNDTS_CTLTB #BRNDTS_CTLBTS {
113
+ height: 28px;
114
+ display: flex;
115
+ justify-content: space-between;
116
+ pointer-events: none;
117
+ }
118
+ #BRNDTS_CTLTB #BRNDTS_CTLBTS #BRNDTS_RTB > :not(:first-child) {
119
+ margin-left: 12px;
120
+ }
121
+ #BRNDTS_CTLTB #BRNDTS_CTLBTS #BRNDTS_LTB {
122
+ pointer-events: none;
123
+ }
124
+ #BRNDTS_CTLTB #BRNDTS_CTLBTS #BRNDTS_LTB > :not(:first-child) {
125
+ margin-left: 12px;
126
+ }
127
+ #BRNDTS_CTLTB > * {
128
+ pointer-events: initial;
129
+ }
130
+ [data-debug=true] #BRNDTS_CTLTB {
131
+ outline: 1px solid purple;
132
+ box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);
133
+ }
134
+ [data-debug=true] #BRNDTS_CTLTB::before {
135
+ opacity: 0.5;
136
+ content: attr(id);
137
+ position: absolute;
138
+ height: 16px;
139
+ font-size: 8px;
140
+ top: 0px;
141
+ left: 0;
142
+ background-color: purple;
143
+ padding: 4px 4px;
144
+ border-radius: 4px;
145
+ color: whitesmoke;
146
+ }
147
+
148
+ /* src/UI/Controls/Components/Buttons/ControlBarButton.scss */
149
+ .BRNDTS_BTN {
150
+ background-color: transparent;
151
+ outline: 1px solid white;
152
+ box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);
153
+ padding: 0;
154
+ width: 28px;
155
+ pointer-events: all;
156
+ height: 100%;
157
+ }
158
+ .BRNDTS_BTN[data-state=pressed] {
159
+ background-color: white;
160
+ }
161
+
162
+ /* src/UI/Controls/Components/Buttons/FullscreenButton/FullscreenButton.scss */
163
+ .BRNDTS_BTN[data-type=BRNDTS_BTN_FS] {
164
+ border: 0;
165
+ outline: none;
166
+ box-shadow: none;
167
+ background-color: transparent;
168
+ }
169
+ .BRNDTS_BTN[data-type=BRNDTS_BTN_FS][data-state=pressed] {
170
+ background-color: transparent;
171
+ }
172
+
173
+ /* src/UI/Controls/Components/BottomBar/ControlBottomBar.scss */
174
+ #BRNDTS_CTLBB {
175
+ position: absolute;
176
+ bottom: 0;
177
+ height: 75px;
178
+ width: 100%;
179
+ pointer-events: none;
180
+ padding-top: 12px;
181
+ padding-bottom: 10px;
182
+ padding-left: 16px;
183
+ padding-right: 16px;
184
+ }
185
+ #BRNDTS_CTLBB #BRNDTS_CTLBTS {
186
+ height: 28px;
187
+ display: flex;
188
+ justify-content: space-between;
189
+ pointer-events: none;
190
+ }
191
+ #BRNDTS_CTLBB #BRNDTS_CTLBTS #BRNDTS_OPTIONS > :not(:first-child) {
192
+ margin-left: 12px;
193
+ }
194
+ #BRNDTS_CTLBB #BRNDTS_CTLBTS #BRNDTS_TIME {
195
+ pointer-events: none;
196
+ }
197
+ #BRNDTS_CTLBB #BRNDTS_CTLBTS #BRNDTS_TIME > :not(:first-child) {
198
+ margin-left: 12px;
199
+ }
200
+ #BRNDTS_CTLBB #BRNDTS_CTLPGRS {
201
+ height: 25px;
202
+ }
203
+ #BRNDTS_CTLBB > * {
204
+ pointer-events: initial;
205
+ }
206
+ [data-debug=true] #BRNDTS_CTLBB {
207
+ outline: 1px solid purple;
208
+ box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);
209
+ }
210
+ [data-debug=true] #BRNDTS_CTLBB::before {
211
+ opacity: 0.5;
212
+ content: attr(id);
213
+ position: absolute;
214
+ height: 16px;
215
+ font-size: 8px;
216
+ top: -16px;
217
+ left: 0;
218
+ background-color: purple;
219
+ padding: 4px 4px;
220
+ border-radius: 4px;
221
+ color: whitesmoke;
222
+ }
223
+
224
+ /* src/UI/Interface.scss */
225
+ #BRNDTS_W {
226
+ display: flex;
227
+ position: relative;
228
+ height: auto;
229
+ margin: auto;
230
+ }
231
+ #BRNDTS_W[data-brndts_control=brndts_fs] video::-webkit-media-controls-fullscreen-button {
232
+ display: none;
233
+ }
234
+
235
+ /* src/main.scss */
236
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Ads/Regions/Region.scss","../src/Ads/Providers/BRNDTSDefaultProvider.scss","../src/Ads/Ads.scss","../src/UI/Controls/Components/TopBar/ControlTopBar.scss","../src/UI/Controls/Components/Buttons/ControlBarButton.scss","../src/UI/Controls/Components/Buttons/FullscreenButton/FullscreenButton.scss","../src/UI/Controls/Components/BottomBar/ControlBottomBar.scss","../src/UI/Interface.scss"],"sourcesContent":["[data-debug=\"true\"] {\n .BRNDTS_R {\n outline: 1px solid red; /* Set the outline */\n box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);\n &::before {\n opacity: 0.5;\n content: attr(id);\n position: absolute;\n height: 16px;\n font-size: 8px;\n top: -16px;\n left: 0;\n background-color: red;\n padding: 4px 4px;\n border-radius: 4px;\n }\n }\n}\n\n.BRNDTS_R {\n position: absolute;\n pointer-events: all;\n\n .BRNDTS_RB {\n // transition: width 0.05s ease-in-out, height 0.05s ease-in-out;\n }\n\n .BRNDTS_RM {\n display: none;\n // transition: width 0.05s ease-in-out, height 0.05s ease-in-out;\n pointer-events: none;\n }\n}\n\n.BRNDTS_PLANE {\n .PLANE_POINT {\n position: absolute;\n width: 5px;\n height: 5px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n }\n}\n",".BRNDTS_default_content {\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: whitesmoke;\n border: 1px solid black;\n\n .box {\n width: 90%;\n height: 90%;\n --b: 2px; /* thickness of the border */\n --c: black; /* color of the border */\n --w: 20px; /* width of border */\n\n border: var(--b) solid #0000; /* space for the border */\n --_g: #0000 90deg, var(--c) 0;\n --_p: var(--w) var(--w) border-box no-repeat;\n background: conic-gradient(\n from 90deg at top var(--b) left var(--b),\n var(--_g)\n )\n 0 0 / var(--_p),\n conic-gradient(from 180deg at top var(--b) right var(--b), var(--_g)) 100%\n 0 / var(--_p),\n conic-gradient(from 0deg at bottom var(--b) left var(--b), var(--_g)) 0\n 100% / var(--_p),\n conic-gradient(from -90deg at bottom var(--b) right var(--b), var(--_g))\n 100% 100% / var(--_p);\n }\n\n .text {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 24px;\n }\n}\n","[data-debug=\"true\"] {\n #BRNDTS_ARW {\n outline: 1px solid green; /* Set the outline */\n box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);\n &::before {\n opacity: 0.5;\n content: attr(id);\n position: absolute;\n height: 16px;\n font-size: 8px;\n top: -16px;\n left: 0;\n background-color: green;\n padding: 4px 4px;\n border-radius: 4px;\n }\n }\n\n .BRNDTS_AR {\n outline: 1px solid red; /* Set the outline */\n box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);\n &::before {\n opacity: 0.5;\n content: attr(id);\n position: absolute;\n height: 16px;\n font-size: 8px;\n top: -16px;\n left: 0;\n background-color: red;\n padding: 4px 4px;\n border-radius: 4px;\n }\n }\n}\n","#BRNDTS_CTLTB {\n position: absolute;\n top: 0;\n width: 100%;\n pointer-events: none;\n padding-top: 12px;\n padding-bottom: 10px;\n padding-left: 16px;\n padding-right: 16px;\n\n #BRNDTS_CTLBTS {\n height: 28px;\n display: flex;\n justify-content: space-between;\n pointer-events: none;\n\n #BRNDTS_RTB {\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n #BRNDTS_LTB {\n pointer-events: none;\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n }\n\n & > * {\n pointer-events: initial;\n }\n}\n\n[data-debug=\"true\"] {\n #BRNDTS_CTLTB {\n outline: 1px solid purple; /* Set the outline */\n box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);\n &::before {\n opacity: 0.5;\n content: attr(id);\n position: absolute;\n height: 16px;\n font-size: 8px;\n top: 0px;\n left: 0;\n background-color: purple;\n padding: 4px 4px;\n border-radius: 4px;\n color: whitesmoke;\n }\n }\n}\n",".BRNDTS_BTN {\n background-color: transparent;\n outline: 1px solid white; /* Set the outline */\n box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);\n padding: 0;\n width: 28px;\n pointer-events: all;\n height: 100%;\n\n &[data-state=\"pressed\"] {\n background-color: white;\n }\n}\n",".BRNDTS_BTN[data-type=\"BRNDTS_BTN_FS\"] {\n border: 0;\n outline: none;\n box-shadow: none;\n background-color: transparent;\n &[data-state=\"pressed\"] {\n background-color: transparent;\n }\n}\n","#BRNDTS_CTLBB {\n position: absolute;\n bottom: 0;\n height: 75px;\n width: 100%;\n pointer-events: none;\n padding-top: 12px;\n padding-bottom: 10px;\n padding-left: 16px;\n padding-right: 16px;\n\n #BRNDTS_CTLBTS {\n height: 28px;\n display: flex;\n justify-content: space-between;\n pointer-events: none;\n\n #BRNDTS_OPTIONS {\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n #BRNDTS_TIME {\n pointer-events: none;\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n }\n\n #BRNDTS_CTLPGRS {\n height: 25px;\n }\n\n & > * {\n pointer-events: initial;\n }\n}\n\n[data-debug=\"true\"] {\n #BRNDTS_CTLBB {\n outline: 1px solid purple; /* Set the outline */\n box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);\n &::before {\n opacity: 0.5;\n content: attr(id);\n position: absolute;\n height: 16px;\n font-size: 8px;\n top: -16px;\n left: 0;\n background-color: purple;\n padding: 4px 4px;\n border-radius: 4px;\n color: whitesmoke;\n }\n }\n}\n","#BRNDTS_W {\n display: flex;\n position: relative;\n height: auto;\n margin: auto;\n\n &[data-brndts_control=\"brndts_fs\"] {\n video::-webkit-media-controls-fullscreen-button {\n display: none;\n }\n }\n}\n"],"mappings":";AACE,CAAA,iBAAA,CAAA;AACE,WAAA,IAAA,MAAA;AACA,cAAA,EAAA,EAAA,IAAA,IAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA,EAAA;;AACA,CAAA,iBAAA,CAHF,QAGE;AACE,WAAA;AACA,WAAA,KAAA;AACA,YAAA;AACA,UAAA;AACA,aAAA;AACA,OAAA;AACA,QAAA;AACA,oBAAA;AACA,WAAA,IAAA;AACA,iBAAA;;AAKN,CAlBE;AAmBA,YAAA;AACA,kBAAA;;AAMA,CA1BA,SA0BA,CAAA;AACE,WAAA;AAEA,kBAAA;;AAKF,CAAA,aAAA,CAAA;AACE,YAAA;AACA,SAAA;AACA,UAAA;AACA,aAAA,UAAA,IAAA,EAAA;AACA,iBAAA;;;;ACxCJ,CAAA;AACE,WAAA;AACA,mBAAA;AACA,eAAA;AACA,oBAAA;AACA,UAAA,IAAA,MAAA;;AAEA,CAPF,uBAOE,CAAA;AACE,SAAA;AACA,UAAA;AACA,OAAA;AACA,OAAA;AACA,OAAA;AAEA,UAAA,IAAA,KAAA,MAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA,EAAA;AACA,QAAA,MAAA,KAAA,EAAA,IAAA,KAAA;AACA,QAAA,IAAA,KAAA,IAAA,KAAA,WAAA;AACA;IAAA,eAAA,KAAA,MAAA,GAAA,IAAA,IAAA,KAAA,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EE,EAAA,KAAA;AACE,eAAA;;AAKN,CA/BF,aA+BE,CAAA;AACE,UAAA;;AAGF,CAnCF,aAmCE,EAAA;AACE,kBAAA;;AAKF,CAAA,iBAAA,CAzCF;AA0CI,WAAA,IAAA,MAAA;AACA,cAAA,EAAA,EAAA,IAAA,IAAA,KAAA,CAAA,EAAA,CAAA,EAAA,CAAA,EAAA;;AACA,CAAA,iBAAA,CA5CJ,YA4CI;AACE,WAAA;AACA,WAAA,KAAA;AACA,YAAA;AACA,UAAA;AACA,aAAA;AACA,OAAA;AACA,QAAA;AACA,oBAAA;AACA,WAAA,IAAA;AACA,iBAAA;AACA,SAAA;;;;ACvDN,CAAA;AACE,WAAA;AACA,YAAA;AACA,UAAA;AACA,UAAA;;AAGE,CAPJ,QAOI,CAAA,+BAAA,KAAA;AACE,WAAA;;","names":[]}
@@ -0,0 +1,13 @@
1
+ declare class BrndtsAds {
2
+ private context;
3
+ constructor(targets: string | NodeList | HTMLElement | HTMLElement[], options?: Partial<Config.ConfigType>);
4
+ start(): void;
5
+ private initialize;
6
+ private mediaIsReady;
7
+ setDebug(debug: boolean): void;
8
+ restartAds(adsConfig: Config.ConfigType["ads"]): void;
9
+ restartControls(controlsConfig: Config.ConfigType["controls"]): void;
10
+ destroy(): void;
11
+ }
12
+
13
+ export { BrndtsAds as default };
@@ -0,0 +1,13 @@
1
+ declare class BrndtsAds {
2
+ private context;
3
+ constructor(targets: string | NodeList | HTMLElement | HTMLElement[], options?: Partial<Config.ConfigType>);
4
+ start(): void;
5
+ private initialize;
6
+ private mediaIsReady;
7
+ setDebug(debug: boolean): void;
8
+ restartAds(adsConfig: Config.ConfigType["ads"]): void;
9
+ restartControls(controlsConfig: Config.ConfigType["controls"]): void;
10
+ destroy(): void;
11
+ }
12
+
13
+ export { BrndtsAds as default };