dlsc-software-consulting-gmbh / jfxcentral2

Version 2 of JFXCentral.
76 stars 10 forks source link

New video type: JFX In Action #605

Closed FDelporte closed 5 months ago

FDelporte commented 5 months ago

Is the list of video types hardcoded are based on the values in the JSON file? I would need a new type "JFX In Action". Can I add it in the JSON or is a website change needed?

Screenshot 2024-05-16 at 14 50 55

leewyatt commented 5 months ago

@FDelporte Hi Frank, The 'Type' attribute of Video is sourced from the videos.json file. Each Video has a 'type' property. You can add a new type like 'JFX In Action' directly into the JSON file

FDelporte commented 5 months ago

Thanks for the explanation @leewyatt ! So that's a ticket we can close easily ;-)

FDelporte commented 5 months ago

Hi @leewyatt, I added the first video with this new type, but still it isn't shown in the Types dropdown... Can you take a look please?

https://www.jfx-central.com/videos/YaF62a4pebg

leewyatt commented 5 months ago

Hi @FDelporte,

I tested it on the client and can see the new video type "JFX In Action." When running jpro locally, I can also see the new video category "JFX In Action." However, this newly added category is not visible on the jfxcentral website. I am currently seeking assistance from @FlorianKirmaier regarding this issue.

leewyatt commented 5 months ago

@FlorianKirmaier I saw the new type on the website. Thank you very much.

FDelporte commented 5 months ago

Thanks!!