Ads and chapter timelines issue with next js

Product

Player

Question

I was finding how the best to use bitmovin player with next js and found streams-examples/StreamsTube at main · bitmovin/streams-examples · GitHub solution, that works for me. But adding advertising and chapter timelines not working. Can you help me please?