Is there a way for a Pano2VR to understand how long an audio file is?
I have a point hotspot which triggers an audio file.
I'd like to create a progress bar to display how far into the audio track a user is.
Image below. Just ignore the actual numbers
https://www.evernote.com/l/ANJZOP1uyW1N ... gFeQoavcFc
Audio file - playing progress bar
- Hopki
- Gnome
- Posts: 13017
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Use the seek bar, it does not show numbers but does give a visible indication of length of media.
Please see: https://ggnome.com/doc/props-seekbar/
Regards,
Use the seek bar, it does not show numbers but does give a visible indication of length of media.
Please see: https://ggnome.com/doc/props-seekbar/
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Hopki!
For example: Video duration is 5 minutes. User played first 3 minutes and closed video. I would like to send information about this to my analytics system (Matomo, system is similar to GA) via
Go to URL: javascript:_paq.push(['trackEvent', 'Video is stopped at ', SomeVideoPositionVariable ]);
Is this possible to get "SomeVideoPositionVariable" somehow?
Seekbar has ACTION "Media Ended", but nothing happens on this event.
Is there the way to get position (time in minutes and seconds or only secons) of played video when it closed by user?Hopki wrote: ↑Wed Jun 17, 2020 11:07 pm Hi,
Use the seek bar, it does not show numbers but does give a visible indication of length of media.
Please see: https://ggnome.com/doc/props-seekbar/
Regards,
For example: Video duration is 5 minutes. User played first 3 minutes and closed video. I would like to send information about this to my analytics system (Matomo, system is similar to GA) via
Go to URL: javascript:_paq.push(['trackEvent', 'Video is stopped at ', SomeVideoPositionVariable ]);
Is this possible to get "SomeVideoPositionVariable" somehow?
Seekbar has ACTION "Media Ended", but nothing happens on this event.
- Hopki
- Gnome
- Posts: 13017
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Have a look at this project.
You can extract the data from the variable.
Regards,
Have a look at this project.
You can extract the data from the variable.
Regards,
- Attachments
-
- timeCode.zip
- (3.14 MiB) Downloaded 128 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Hopki!
Thank you very much. Your example project is exactly what I need!
Thank you very much. Your example project is exactly what I need!
Hi.
Thank you all as always.
The data Hopki attached was great!
If I want to change the number of decimal places, where should I change (I want to change it to 2 digits)?
My project places 360 degree panoramic video as a node instead of embedding it.
I would appreciate it if you could tell me how to create the time code of the seek bar in such a case.
I pray for Vitaly safety.
Best regards,
Taka
Thank you all as always.
The data Hopki attached was great!
If I want to change the number of decimal places, where should I change (I want to change it to 2 digits)?
My project places 360 degree panoramic video as a node instead of embedding it.
I would appreciate it if you could tell me how to create the time code of the seek bar in such a case.
I pray for Vitaly safety.
Best regards,
Taka