You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, May 2nd 2021, 4:35pm

A SoundInterface conroller?

Hello. This is my first forum post. I've been using KRPano for about a month and have really been enjoying it-- great work!

I am using buttons to trigger audio narration inside a gigapixel pano (a really fantastic project for the Chicago History Museum, animating a cyclorama painting from 1892). I'd like to add standard audio controller to the interface-- something that shows duration, play/pause, maybe a title... the usual stuff.

I figured that there would be some example already built out there, because the KRPano community is so active, but haven't seen anything.

Is there any existing UI setup for this, or a supported plugin, or a way to simply implement the default HTML5 <audio> element?

Or is this something I would need to build from scratch with SoundObject attributes, events, and actions?

Thanks!

San7

Professional

Posts: 623

Occupation: coding in krpano

  • Send private message

2

Sunday, May 2nd 2021, 4:55pm

Hi, maybe this will work for you. audio sound is turned on by clicking on the hotspot, a panel appears with the total and current time, you can move the time.
https://novosibpano.ru/Plugins/Add_Hotspot_en.html#sound

Example

3

Tuesday, May 4th 2021, 10:23am

Thank you for that. I had seen your Menu plugin before, but hadn't looked at this hotspot system that allows media. The playbar is the right sort of thing, as long as I could customize, to adjust the position of the playbar and the volume control, and add some text describing the audio. I'm not sure if this is possible in your hotspot system, but I'll look into it further.

San7

Professional

Posts: 623

Occupation: coding in krpano

  • Send private message

4

Tuesday, May 4th 2021, 3:06pm

Now I am changing the sound code, there will be an update. Unfortunately, I cannot do this quickly. But I will take into account your wishes and make the layers of the soundbar available for editing.