Door opens in pano success! but not online

Q&A about the latest versions
Post Reply
User avatar
adriansinc@gmail.com
Posts: 51
Joined: Tue Oct 29, 2013 1:54 pm
Location: London

Thu May 29, 2014 4:05 pm

Hi, many hours later, I got something quite interesting working, but it refuses to work online on website...

This is it online...
http://addlionfilms.webspace.virginmedi ... wtest.html

The door should open on mouse rollover like it does on desktop...



Many problems overcome getting to this stage, there does not seem to be an action to show/hide an Image in the media editor which would make this so much easier. Instead I had to use a video clip with door open/closed.


Why oh why will in not work online?

Solve it and you get a biscuit! Thanks.


Also i'm finding in html5 output, sometimes a cubeface or two will not load, refresh the browser and it appears?
Last edited by adriansinc@gmail.com on Thu May 29, 2014 7:03 pm, edited 2 times in total.
User avatar
Hopki
Gnome
Posts: 10841
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Thu May 29, 2014 6:28 pm

Hi,
Your link works with Chrome, your file is WebM which does not display in all browsers, example Safari will play MP4 and will not display WebM.
That said Firefox should play the WebM file but it also does not work.
Odd.
Ill make a note of this and lets see what the Dev's think.
They are back next week.
Regards,
Hopki
Hopki
Garden Gnome Software 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/
User avatar
adriansinc@gmail.com
Posts: 51
Joined: Tue Oct 29, 2013 1:54 pm
Location: London

Thu May 29, 2014 7:02 pm

Thanks for the reply Hopki,

yes, that is why i have been pulling my hair out! I'm on Firefox most of the time. All fine on Chrome now I installed it.

Its looking a bit complex to cater for all browsers when video is involved. A lot of tests to be done!

Thanks.
User avatar
adriansinc@gmail.com
Posts: 51
Joined: Tue Oct 29, 2013 1:54 pm
Location: London

Thu May 29, 2014 7:10 pm

A lot of the problem with doing it this way is basically you are using a video as a cubeface, if the door or object is close like in my example, the video size is 2228px x2228px for an 8000px pano. You then run into problems with video not wanting to encode at that resolution with many codecs and formats.

Ah well, I shall soldier on. I guess i'm jumping the gun a bit, all this sort of pano embellishment will be common in the future i'm sure but for now its a battle.!
Don
Posts: 140
Joined: Thu Mar 07, 2013 2:59 pm
Location: Southern California

Sat May 31, 2014 7:09 pm

Maybe this is worth a try? ...wish I knew for sure.

In your "newtest_out.xml" file the <media><video><source> tag currently looks like this:

Code: Select all

<source url="Sequence 01_3.webm"/>
It should probably look like this:

Code: Select all

<source src="Sequence 01_3.webm" type="video/webm" />
Why? Without the Type attribute the client's browser does not know how to handle the binary webm file. Firefox and other html5 browsers typically will display webm files, if they know that it is a webm file. In your case, since the webm file is being called via javascript tucked inside the pano, we see Firefox simply not respond when the cursor hovers over the door - because javascript fails silently. If however, the full url to "Sequence 01_3.web" is entered into the browser url field, currently Firefox displays a "File Open As / File Save As" prompt. That is the clue Firefox does not recognize the webm file as "video/webm".

References:
1. Webm browser types:
http://www.webmproject.org/users/#suppo ... b_browsers

2. Mozilla media formats:
https://developer.mozilla.org/en-US/doc ... ia_formats

3. Past post on Pano2vr forum:
http://ggnome.com/forum/viewtopic.php?f=6&t=9153
User avatar
adriansinc@gmail.com
Posts: 51
Joined: Tue Oct 29, 2013 1:54 pm
Location: London

Sun Jun 01, 2014 2:04 am

Thanks v much Don, would be great if that works, will report back!
I would rather not use webm but I seemed to be having less luck with .mov and .mp4. Not least due to the fact that even though the video clip is only 2 frames long it is 2546px by 2546px which mp4 and .mov don't seem to be able to do.
Post Reply