Sie sind nicht angemeldet.

spacerywirtualne

Fortgeschrittener

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 506

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : VR solutions

  • Nachricht senden

121

Montag, 5. Dezember 2016, 11:27

Hi
ERROR: html5soundunload - TypeError: Cannot read property 'unload' of undefined
Html5SoundUnload(name);

This error will occur if the parameter name insert the name of non-existent.

explanation

playHtml5sound2D(keep, soundname, audiofile, rate*, volume*,loops*, onload*, onplay*,onpause*,onstop*,onmute*, oncomplete*);
and
Html5SoundUnload(soundname);

soundname == soundname -> OK

soundname != soundname -> ERROR: html5soundunload - TypeError: Cannot read property 'unload' of undefined

best regards,
Piotr
Pawel & Piotr

Virtual Tour Builder new IDE with free modern templates, POI system and Livepano Assistance

HTML5-VR Audio Plugin

New Lensflare Plugin for Flash, HTML5, WebVR!

122

Montag, 2. Januar 2017, 21:33

html5soundunload - TypeError (...)

Hi there!

I just began to play around with the plugin and I must say it is amazing. I am doing a personal test art project, based on equirectangular images rendered in 3d, and I have the same problem (html5soundunload). But I have some extra notes to eventually help the "debugging" (mine... of course)

1) please note that the error only happens when I use the "Background sound". That is, when a scene with "3D" sounds only is loaded this message does not show-up. So if I began a tour with, say, two scenes, if the first only has "ambient" 3D type, it works without problems, but when one goes to other scene of the tour if the selected/loaded scene has "bckground sound" the message shows-up.

2) Different browsers give back "different" errors:

a) Safari
html5soundunload - TypeError: undefined is not an object (evaluating 'window[soundName].unload')

b) Firefox
ERROR: html5soundunload - TypeError: window[soundName] is undefined

Please note that I tried some different approaches, between putting code in sounds.xml or tour.xml (<action name = "...">), but I could not figure it out. If they could give some clues / quick examples on how to implement it was much appreciated.

Thanks for your attention and fantastic work.

Horácio Tomé Marques


A short note to contextualize myself: I, with two friends (ifuturo), have (one of) the most interesting history of 360/panorama project implementations in Portugal. Started early in 1996 we did some pretty amazing virtual tours, namely to our National Parliament. This particular project was done in 2002/2003 and still is online. At that time we did it in QTVR and some additional java and flash, so it still needs this "plugins" to work, but it works... fantastic no? We have much more, but, of course this theme is beyond the scope of this message.

http://www.parlamento.pt/VisitaParlament…as/default.aspx
http://app.parlamento.pt/visita/visita_virtual/

spacerywirtualne

Fortgeschrittener

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 506

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : VR solutions

  • Nachricht senden

123

Montag, 2. Januar 2017, 23:22

Hello

Typically, this type occur if the user does not apply to the documentation. Sometimes it is a bug installation, missing line of code or a link to a file that does not exist, wrong file names, and so on... The causes can be many. That is, 95% of cases.
Does not change the fact that every time I help solve the problem. If errors occur I immediately fix them, but without a link to the project or a ZIP file, unfortunately, I can not help you.
Send me some link or ZIP file by Wetransfer.


Piotr
Pawel & Piotr

Virtual Tour Builder new IDE with free modern templates, POI system and Livepano Assistance

HTML5-VR Audio Plugin

New Lensflare Plugin for Flash, HTML5, WebVR!

124

Dienstag, 3. Januar 2017, 10:55

html5soundunload (TypeError): documentation

Hi!

Dear Piotr,

you are absolutely right. Although I have some experience in interactive panoramic project development I am a real rookie in what it concerns languages such as js. Sorry to have sent you a message without first learning more about all this.

I will proceed now to a deep reading of the documentation. I will return to you only if I am not really able to solve other eventual issues!

Thanks again for your great work.

Sincerely,

Horácio

spacerywirtualne

Fortgeschrittener

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 506

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : VR solutions

  • Nachricht senden

125

Dienstag, 3. Januar 2017, 13:07

Hi Horácio

I'm working on the next version of the plugin. Will be many improvements, better productivity and refactoring the main code *thumbup*

If you find some error please report it to me immediately.


Piotr
Pawel & Piotr

Virtual Tour Builder new IDE with free modern templates, POI system and Livepano Assistance

HTML5-VR Audio Plugin

New Lensflare Plugin for Flash, HTML5, WebVR!

spacerywirtualne

Fortgeschrittener

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 506

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : VR solutions

  • Nachricht senden

126

Dienstag, 3. Januar 2017, 15:48

Hi

The latest version of the HTML5-VR Audio Plugin ver 2.0 beta5 plugin is ready. The download link is sent to our clients.

Thanks for all your comments and suggestions. Thanks to you we can improve plugin to work better and better.


Piotr

p.s. If you not receive any email with download link - write to PM
Pawel & Piotr

Virtual Tour Builder new IDE with free modern templates, POI system and Livepano Assistance

HTML5-VR Audio Plugin

New Lensflare Plugin for Flash, HTML5, WebVR!

127

Freitag, 20. Januar 2017, 19:12

I've noticed an odd thing lately running the latest HTML5-VR and iOS 10.2:

There are times when I start a pano and the sound comes through on the iPhone speaker. I plug in my earbuds or headphones and the sound is still there. However, when I go back later and start fire up my pano in Safari, there's no sound. If I plug-in my earbuds at that point the sound is usually there. When I unplug, sometimes sound comes out of the device speakers and other times there's still no sound.

Killing safari seems to fix the issue, but sometimes it doesn't. Restarting the iPhone always fixes the issue for the first use, but after that the problem sometimes appears again.

It's been almost impossible to replicate this issue on a consistent basis, but the issue definitely exists.

Tnx!

128

Dienstag, 24. Januar 2017, 01:27

HTML5 plugin sounds not working properly on Ipads both Ipad 2 and Ipad mini

Having a similar problem to landrvr1

Sound is working on iphone 6 plus on iOS 10.2

but on both ipad 2 - iOS 9.3.5

and Ipad mini - iOs 10.2

It only works with headphones plugged in it doesn't work with the speakers.

This was working before Christmas as I tested on both devices. Is there some sort of call to an external server or script in the encrypted plugin that has been updated or changed?

The ipad mini has had an iOS update in late December just after iOS 10.2 came out but the ipad 2 did not and will not but still exhibits the same problem. Again though unless an external script is being called it doesn't really make sense. Got a couple of big projects that are currently using this plugin and it's less than ideal to say the least that users on ipads can't listen to audio without headphones. :(

spacerywirtualne

Fortgeschrittener

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 506

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : VR solutions

  • Nachricht senden

129

Dienstag, 24. Januar 2017, 14:27

Hello
Having a similar problem to landrvr1

Sound is working on iphone 6 plus on iOS 10.2

but on both ipad 2 - iOS 9.3.5

and Ipad mini - iOs 10.2

It only works with headphones plugged in it doesn't work with the speakers.

This was working before Christmas as I tested on both devices. Is there some sort of call to an external server or script in the encrypted plugin that has been updated or changed?

The ipad mini has had an iOS update in late December just after iOS 10.2 came out but the ipad 2 did not and will not but still exhibits the same problem. Again though unless an external script is being called it doesn't really make sense. Got a couple of big projects that are currently using this plugin and it's less than ideal to say the least that users on ipads can't listen to audio without headphones. :(
There is NO call to an external server in my script!

To work surround sound you always need min. 2 speakers.

Get some link to test example. Without examples nothing can be done.

best regards

Piotr
Pawel & Piotr

Virtual Tour Builder new IDE with free modern templates, POI system and Livepano Assistance

HTML5-VR Audio Plugin

New Lensflare Plugin for Flash, HTML5, WebVR!

130

Dienstag, 24. Januar 2017, 17:57

Hello
Having a similar problem to landrvr1

Sound is working on iphone 6 plus on iOS 10.2

but on both ipad 2 - iOS 9.3.5

and Ipad mini - iOs 10.2

It only works with headphones plugged in it doesn't work with the speakers.

This was working before Christmas as I tested on both devices. Is there some sort of call to an external server or script in the encrypted plugin that has been updated or changed?

The ipad mini has had an iOS update in late December just after iOS 10.2 came out but the ipad 2 did not and will not but still exhibits the same problem. Again though unless an external script is being called it doesn't really make sense. Got a couple of big projects that are currently using this plugin and it's less than ideal to say the least that users on ipads can't listen to audio without headphones. :(
There is NO call to an external server in my script!

To work surround sound you always need min. 2 speakers.

Get some link to test example. Without examples nothing can be done.

best regards

Piotr
Hi Piotr

Thanks for getting back to me, I didn't mean to cause offence by asking if there was a call to an external script, I was merely asking if there was as the main file is encrypted. I'll PM you the link to the tour and username and password as it's not in public domain yet.

It's just a really hard thing to test for as I develop on PC and test then up to server to then test on different devices and just so strange that it's working on iphone and desktop but not on ipads. Or rather it is working on ipads but only when headphones plugged in. I've probably done something stupid in my code somewhere. *smile*

131

Dienstag, 24. Januar 2017, 18:17

Hello
Having a similar problem to landrvr1

Sound is working on iphone 6 plus on iOS 10.2

but on both ipad 2 - iOS 9.3.5

and Ipad mini - iOs 10.2

It only works with headphones plugged in it doesn't work with the speakers.

This was working before Christmas as I tested on both devices. Is there some sort of call to an external server or script in the encrypted plugin that has been updated or changed?

The ipad mini has had an iOS update in late December just after iOS 10.2 came out but the ipad 2 did not and will not but still exhibits the same problem. Again though unless an external script is being called it doesn't really make sense. Got a couple of big projects that are currently using this plugin and it's less than ideal to say the least that users on ipads can't listen to audio without headphones. :(
There is NO call to an external server in my script!

To work surround sound you always need min. 2 speakers.

Get some link to test example. Without examples nothing can be done.

best regards

Piotr
Hi Piotr

Thanks for getting back to me, I didn't mean to cause offence by asking if there was a call to an external script, I was merely asking if there was as the main file is encrypted. I'll PM you the link to the tour and username and password as it's not in public domain yet.

It's just a really hard thing to test for as I develop on PC and test then up to server to then test on different devices and just so strange that it's working on iphone and desktop but not on ipads. Or rather it is working on ipads but only when headphones plugged in. I've probably done something stupid in my code somewhere. *smile*
I've now semi solved the problem although still not sure why it's happening got into a coding Spiral last night trying to solve this but just found this post re iOS Web Audio - http://stackoverflow.com/questions/21122…s-on-headphones

As it turns out both ipads I was testing on had their side buttons set to mute. It didn't affect the sound from the videoplayer plugin though only your plugin.

Although it means there's no problem with code it's still strange how and why this only effects some tours using the plugin and not others on ipads with the mute switch on. Very Happy I don't have to spend another night till 2am sifting through my code though *smile*

132

Mittwoch, 25. Januar 2017, 01:05

I'll add once again (and confirmed in that link from streetvisit) that this is an issue on the iPhone as well.

133

Sonntag, 29. Januar 2017, 23:07

Piotr, any new thoughts or info on this? Seems like it's an iOS problem so not sure if there's anything that can be done on your end?

spacerywirtualne

Fortgeschrittener

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 506

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : VR solutions

  • Nachricht senden

134

Montag, 30. Januar 2017, 10:23

Hi
Piotr, any new thoughts or info on this? Seems like it's an iOS problem so not sure if there's anything that can be done on your end?
What exactly the problem you have in IOS? Paste a link here and I check on the IOS directly to your project.

Piotr
Pawel & Piotr

Virtual Tour Builder new IDE with free modern templates, POI system and Livepano Assistance

HTML5-VR Audio Plugin

New Lensflare Plugin for Flash, HTML5, WebVR!

135

Mittwoch, 1. Februar 2017, 19:01

Hey Piotr, caught in a deadline but when I wrap it up I'll try and recreate the problem then post a step by step. Tnx

spacerywirtualne

Fortgeschrittener

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 506

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : VR solutions

  • Nachricht senden

136

Freitag, 17. Februar 2017, 11:16

Hi *smile*


I sent to all clients a link to download the latest version of the plugin (ver 2.2)

* update Howler JavaScript files
* resolved conflict width the incorrect scene names in the GUI edit mode

If you bought HTML5-VR Audio Plugin and not receive messages, email me.



We are constantly working on improving our plugins. Any suggestions are welcome.


Kind regards

Piotr
Pawel & Piotr

Virtual Tour Builder new IDE with free modern templates, POI system and Livepano Assistance

HTML5-VR Audio Plugin

New Lensflare Plugin for Flash, HTML5, WebVR!