|
|
Quellcode |
1 2 3 4 |
<action name="getseeksound">
Html5SoundGetSeek(mysoundname, myvar);
trace('seek in sec: ',get(myvar));
</action>
|
Dieser Beitrag wurde bereits 18 mal editiert, zuletzt von »spacerywirtualne« (14. März 2018, 19:57) aus folgendem Grund: Plugin update.
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »jordi« (2. Februar 2016, 13:32)
|
|
Quellcode |
1 |
playsound3D(name, audiofile, ath, atv, range*, volume*, loops*, oncomplete*) (Flash only) |
|
|
Quellcode |
1 |
playsound3D(keep, name, audiofile, ath, atv, range, rate*, volume*, loops*, onload*, onplay*, onpause*, onstop*, onmute*, oncomplete*); |
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
<scene name="scene_012" title="012" pano_dir="012" onstart="load_audio()" thumburl="panos/012.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="-175.235" vlookat="2.836" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <preview url="panos/012.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="512"> <level tiledimagewidth="3840" tiledimageheight="3840"> <cube url="panos/012.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1792" tiledimageheight="1792"> <cube url="panos/012.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1024" tiledimageheight="1024"> <cube url="panos/012.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <!-- place your scene hotspots here --> <hotspot name="spot1" style="skin_hotspotstyle" ath="180" atv="20" linkedscene="scene_p002" /> <action name="load_audio"> playHtml5sound2D(false, wyspa, assets/wyspa, 1.0, 0.2, true); playHtml5sound3D(false, horn, assets/horn, -176, 0.7, 260, 1.0, 0.1, true); playHtml5sound3D(false, waves, assets/waves, -131, 0, 350, 1.0, 0.2, true); playHtml5sound3D(false, bar, assets/bar, -19, 3, 290, 1.0, 0.6, true); playHtml5sound3D(false, cyklades, assets/cyklades, 69, 3, 210, 1.0, 1.0, true); </action> </scene> <scene name="scene_p002" title="p002" pano_dir="p002" onstart="load_audio()" thumburl="panos/p002.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/p002.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="512"> <level tiledimagewidth="2560" tiledimageheight="2560"> <cube url="panos/p002.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1280" tiledimageheight="1280"> <cube url="panos/p002.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="640" tiledimageheight="640"> <cube url="panos/p002.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <!-- place your scene hotspots here --> <hotspot name="spot1" style="skin_hotspotstyle" ath="-59.543" atv="24.261" linkedscene="scene_012" /> <action name="load_audio"> playHtml5sound2D(false, loop2d, assets/birds, 1.0, 0.04, true); playHtml5sound3D(false, noise, assets/noise, -12, 14, 310, 1.0, 1.0, true); playHtml5sound3D(false, bell, assets/bell, -83, 14, 270, 1.0, 0.05, true); playHtml5sound3D(false, clock, assets/clock, 143, -22, 270, 1.0, 1.0, true); </action> </scene> |
Hovler has many additional features. If the plugin will be popular we are sure to add them. Sprites of sound also. Although this is a static method for adding sound. In our plugin sound is added dynamically.Taking in care that howler.js can handle sprites of sound, did you considered adding that feature ?
I guess the plugin will be available soon ?
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comDieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Tuur« (10. Februar 2016, 15:38)
Of course it's my mistake - I'm sorry.EDIT: scene and tour skin are encrypted.. so it is not possible to see how to use.!!
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comI thought about the sameCould be also great add for my moving hotspots :-)
Thank youAlways great service from my 'for long time' krpano friends.