I will use srt format. Is there a way to import ready made javascript library to parse srt files or other subtitle format?
Could you please explain how to access the current duration/time of QML video output? I have tried to use runPlayerScript(“getDuration”) as explained in https://felgo.com/doc/felgo-youtubewebplayer/ but got an error
Hi Barazi,
If you are using the Video QML Type you can access the duration of the media with the duration property. The position property holds the current playback position in milliseconds.
the youtube player uses a WebView, which cannot be overlayed with QML items. This is currently a limitation by Qt. We’d recommend using the QtMultimedia module to display your videos, in order to overlay it with custom QML items.
By signing up, you consent to Felgo processing your data & contacting you to fulfill your request. For more information on how we are committed to protecting & respecting your privacy, please review our privacy policy.
Want to find out if Felgo is a good fit for your company?
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: