on this that I just don't know what to do, but I think for everyone here it will be simple.
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
<scene name="scene_one" title="scene one" onstart="" havevrimage="true" thumburl="panos/one.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/one.tiles/preview.jpg" />
<image type="CUBE">
<cube url="panos/one.tiles/vr/pano_%s.jpg" />
</image>
<!-- place your scene hotspots here -->
</scene>
|
|
|
Source code |
1 2 3 4 5 6 7 8 |
<scene name="scene_one" title="scene one" onstart="playHtml5sound2D(true, commentary1, assets/Commentary1, 1.0, 1.0, false);" havevrimage="true" thumburl="panos/one.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <preview url="panos/one.tiles/preview.jpg" /> <image type="CUBE"> <cube url="panos/one.tiles/vr/pano_%s.jpg" /> </image> <!-- place your scene hotspots here --> </scene> |
Thanks again for your help, really appreciate it.
I tried it and it works.
This is the IOS...However, (and this is another question for you and people on this forum) it works perfectly in Android but on iPhone is an issue. On iPhone when you load the tour, the audio on the scenes does not play automatically. You have to look at the hotspot to play the audio and then when you close the hotspot the audio stops, which is not how it should work. The audio, just like it does in Android, should load up automatically when you visit each of the scenes in Ireland.
Thank you for your suggestion. I will try to add this option in one of the next updates.is it yet possible to fade in and out sounds? I did wrote a little routine which rises the volume with a delayedcall in steps, but your plugin does not seem to accept multiple volume settings in a short period of time
Another question: It seems that the keep-value does´nt work?! No matter if I set it to true or false, the sound does stop when leaving a scene:
This is interesting. I'll check it out and let you know.This post has been edited 1 times, last edit by "spacerywirtualne" (Sep 1st 2017, 7:34pm)
Hi Piotr,
any news on the possibility to adjust the volume on the fly?
|
|
Source code |
1 2 3 4 5 6 |
<scene name="scene_01" title="01" onstart="load_audio_01();" ...> ... <action name="load_audio_01"> playHtml5sound2D(false, a01, html5sound/assets/a01, 1.0, 0.75, false, oncomplete(skin_nextscene(+1))); </action> </scene> |
This post has been edited 1 times, last edit by "indexofrefraction" (Nov 25th 2017, 10:05am)
In demo you have sliders for dynamic volume change, so...At the moment your plugin only allows setting the volume of one specific sound and only to a constant value. It´s not possible to change the volume interactively.
i have a pb with the plugin, i use it in a virtual tour, all is ok when i go slowly from a pano ((pano1 with soud1) to another one (pano2 with sound2). My problem appears when i go fastly from pano1 to pano2, and to another...
For example, i have 2 panos: pano1 with sound1, pano2 with sound2
i open pano1 and, before sound1 begins (sometimes it takes a long time to play... it depends on the file?) , then i go directly (click on an arrow or on a thumb) to pano2, sound2 normally begins... but sound1 too! After 3-4 panos i have 3-4 soundtracks playing in the same time ...
Any idea??
Thank's in advance
I'm working on itThank's again i hope a solution as soon as possible