git clone --recurse-submodules https://github.com/zlatnaspirala/vue-typescript-starter
To create perfect modular fit for any type project. I will integrate next features:
- Google client login based on ApiKey. [DONE]
- Test yt video play with YT Player embeded iframe[DONE] also with customhtml5 video tag.[DONE]
- Google account login based on node.js server.
- Calling Youtube API v3. and preview in classic html tags. [DONE]
- Implementing three.js video preview sub component[DONE]
- Preview thumbnails with threejs component. [DONE]
- NUI commander and Voice commander [WIP]
- Implementing custom webGL2 (glmatrix) video preview sub component.
- Kure Video Chat (kurento) Mixing yt video with camera stream.
- Visual ts game engine - some kind of implementation
- Implementing AR (commercial)
- Google map API - Not free (maybe for 3d vs maps) 7$ min cost
Last version sceenshots: Screenshot:
See setup-from-zero-point.md
to make clear who this project was created.
Help links:
developers.google.com/youtube/v3
github.com/google/google-api-javascript-client
For now we need trust this:
// Methods in TypeScript, like normal class methods, have an optional access modifier.
export default class HelloWorld extends Vue {
public clickMe(): void {
console.log('clicked')
console.log(this.addNum(4, 2))
}
public addNum(num1: number, num2: number): number {
return num1 + num2
}
}
// The JavaScript-equivalent code is as follows.
export default {
methods: {
clickMe() {
console.log('clicked')
console.log(this.addNum(4, 2))
}
addNum(num1, num2) {
return num1 + num2
}
}
}
I will not use ts variant for three.js. Reasons on page:
https://threejs.org/docs/#manual/en/introduction/Typescript-setup
I will use javascript classic variant but script type module with import
.
Raport:
npm i three ->
found 376 vulnerabilities (375 low, 1 high)
- YouTube component. Log in , fetch data from youtube APi v3. preview images in list
- Added threejs lib / my subComponent and preview video and thumbnails. Play video in webGL context , control video from status bar buttons UI.
ESLINT is present also (not configured).
npm run lint