Commit Graph

53 Commits

Author SHA1 Message Date
7ae36c13a0 chore(core): added JSDoc comments (useless in ts) 2026-04-30 00:52:23 +03:30
532cbc1834 refactor(core): removed unnecessary class variable 2026-04-30 00:17:15 +03:30
8bf42d99d8 feat(core): added simple src setting temproary 2026-04-29 23:49:02 +03:30
98ee8b5653 chore(types): corrected defenition pose of types
changed where each type is defined in types/ dir for consistency and updated related files.
2026-04-29 23:48:38 +03:30
88ecabf17a feat(core): removed adapter init and used registry
used the newly made AdapterRegistry to instantiate adapters
2026-04-29 23:28:52 +03:30
f663957ace feat(adapters): instantiated AdapterRegistry
instanced the AdapterRegistry so there only would be one accessible registery everywhere
accessible and registerd the native adapter in barrel file (index.ts file)
2026-04-29 23:28:15 +03:30
ec89f3826e faet(types): adapter registry to modular adapters
added an adapter registry to have a modular way to instntiate adapters for scalability
2026-04-29 23:10:36 +03:30
f284ea494c chore: changed the position of types
now the types related to adapters are inside AdapterAPI type file
2026-04-29 23:09:02 +03:30
9d8c65382d feat(types): working on config available options
trying to make ui as configureable as possible while maintaining an understandable set of design choices
2026-04-28 01:56:36 +03:30
46ab7abe9b chore(types): rename PlayerOptions to PlayerConfig 2026-04-28 01:45:56 +03:30
7e21808d69 chore(types): scattered the type interfaces
scattered type interfaces wih goal of scalability and easier debug and coding
2026-04-28 01:16:02 +03:30
918972e101 chore: removed unnecessary ignore especially types 2026-04-28 01:05:59 +03:30
39d3fc4748 chore: added raw tsc builds too 2026-04-27 00:09:57 +03:30
e131f524b7 chore: added format command to prepublishOnly 2026-04-26 23:27:29 +03:30
7edac60428 refactor: formatted with prettier --write 2026-04-26 23:26:42 +03:30
4caefd2d8d chore: added format and format:check npm commands 2026-04-26 23:25:47 +03:30
affda9ccae refactor: saved all files with prettier formatting 2026-04-26 23:24:09 +03:30
f248a293fa fix: corrected a lint problem
changed Function type to EventListener
2026-04-26 23:22:26 +03:30
1c92f28a5f chore: added eslint and prettier linting 2026-04-26 23:21:43 +03:30
8134911e17 chore: unify build output for both npm and bundle 2026-04-26 23:02:36 +03:30
5fd8f9b047 feat: used new event manager for play button 2026-04-26 00:07:07 +03:30
1fce8a5682 feat: added a basic yet enough event manager 2026-04-26 00:05:30 +03:30
00f76cb1dc feat: destroyed ui on destroy() but has problems 2026-04-25 00:00:45 +03:30
ab5047ce0a fix: initialized the button text at creation 2026-04-24 23:55:33 +03:30
2e01011dc8 fix: made type in config required
throws error if not present
2026-04-24 23:55:15 +03:30
6174a6c79b feat: added BaseUI with simple play button 2026-04-24 23:39:44 +03:30
2bcd81c486 feat: added prefix class and initialize of BasicUI 2026-04-24 23:39:05 +03:30
828b7ede8e feat: added some types for future
the types added here might change later on
2026-04-24 20:44:10 +03:30
60e16940f3 feat: added robust and more decoupled ways on init 2026-04-24 00:28:09 +03:30
c1788b0e3e feat: added native to AdapterConfig interface 2026-04-24 00:27:38 +03:30
139b2d0de4 feat: implemented and passed correct api of player 2026-04-23 22:18:07 +03:30
a219d67646 fix: corrected my interface to be unified and std 2026-04-23 22:17:47 +03:30
8a00ed1eab ci: added vitest and changed vite to correct name 2026-04-23 22:17:29 +03:30
fbbf6961cf fix: made vp class accessible globally 2026-04-23 02:23:34 +03:30
bb3c4f6ba4 chore: changed package name 2026-04-23 02:23:15 +03:30
1a3ed6816c ci: corrected building and bundeling with tsc vite 2026-04-23 02:01:53 +03:30
8278e313e5 feat: almost tried to use adapter but havent yet 2026-04-23 01:25:45 +03:30
e0148573dc feat: added better types for my adapter api 2026-04-23 01:25:19 +03:30
72af0641dd feat: added a basic native adapter
it uses basic html api to play the video and do normal things on video like pause and seek
2026-04-23 01:25:03 +03:30
ba991b8156 feat: made the vars private and added adapter
will change a lot of it later on
2026-04-23 00:47:28 +03:30
26d65b3282 feat: added a baseline adapter api to use 2026-04-23 00:41:50 +03:30
e730b77fce feat: made it accept both video id and element 2026-04-23 00:41:38 +03:30
7f450b04fb fix: corrected wrong english tense 2026-04-23 00:21:14 +03:30
f04ff1995a refactored: removed some functions from vp
i will implement these later but not now
2026-04-23 00:20:29 +03:30
4977066961 feat: made index main export option only
and added plugin type which i will add to it later on
2026-04-22 14:58:18 +03:30
cc02d08f9f feat: made more modular 2026-04-22 14:57:49 +03:30
b4dc0476a0 feat: added types and changes are incoming 2026-04-22 14:45:08 +03:30
004f2a81f9 feat: added some basic stuff to class VP
still have a long way to become even barely functional but i love where this is going
2026-04-22 01:26:13 +03:30
9b9413af6d ci: added basic workflow of automated build and deploy 2026-04-21 00:05:34 +03:30
951d4d8301 feat: added test to npm and changed from index.js to index.ts 2026-04-20 23:52:08 +03:30