Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L735)][[2](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L736)][[3](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L737)][[4](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L738)][[5](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L739)][[6](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L740)][[7](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L741)][[8](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L742)][[9](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L743)][[10](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L744)][[11](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L760)][[12](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L762)][[13](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L763)][[14](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L764)][[15](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L770)][[16](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L771)][[17](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L772)][[18](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L773)][[19](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L774)][[20](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L775)][[21](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L776)][[22](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L777)][[23](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L778)][[24](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L779)][[25](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L783)][[26](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L785)][[27](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L786)][[28](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L787)][[29](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L792)][[30](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L793)] and more :You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L950)][[2](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1053)][[3](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1076)][[4](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1092)][[5](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1104)][[6](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1123)][[7](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1139)][[8](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1222)][[9](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1320)][[10](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1525)][[11](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1653)][[12](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1664)][[13](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1675)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>

[[1](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L284)][[2](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L314)][[3](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L374)][[4](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L382)][[5](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L564)][[6](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L597)][[7](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L612)][[8](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1087)][[9](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1096)][[10](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1153)][[11](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1164)][[12](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1175)][[13](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1188)][[14](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1202)][[15](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1210)][[16](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1216)][[17](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1217)][[18](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1218)][[19](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1219)][[20](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1237)][[21](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1250)][[22](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1269)][[23](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1279)][[24](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1280)][[25](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1281)][[26](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1286)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L290)][[2](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L332)][[3](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L984)][[4](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1025)][[5](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1416)][[6](https://github.com/miroliu/ai-video-generator-obsidian/blob/1fd6364ef11fca5c11e02ea24a71d29c1ed97306/main.ts#L1417)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.