Author Topic: VR HTML code for Android Touch Screen?  (Read 7204 times)

0 Members and 1 Guest are viewing this topic.

Offline hugo

  • Jr. Member
  • **
  • Posts: 99
VR HTML code for Android Touch Screen?
« on: March 06, 2014, 09:56:44 am »
My Samsung Android Tablet will show the VR animation, but naturally wont play the animation because the current VR code is Mouse Dependent, not Touch Dependent.
Does have the corresponding Touch Dependent VR code so I can substitute it in my HTML VR files?

TIA!

thomasteger

  • Guest
Re: VR HTML code for Android Touch Screen?
« Reply #1 on: March 06, 2014, 12:18:28 pm »
VR supports touch. Go to keyshotvr.com and try it on the KeyShotVR examples posted there.

Offline hugo

  • Jr. Member
  • **
  • Posts: 99
Re: VR HTML code for Android Touch Screen?
« Reply #2 on: March 06, 2014, 05:40:35 pm »
I see I did not make my question clear"

If I download a VR animation produced on my PC to my Android tablet, that VR  wont play in the Android version of Firefox, because its missing the specific HTML Touch Screen Code.  Hence My question, What HTML code snippet do I need to replace in my VR  HTML so the VR will play on my Android Tablet?

TIA!

thomasteger

  • Guest
Re: VR HTML code for Android Touch Screen?
« Reply #3 on: March 07, 2014, 10:02:55 am »
We just tested it and it worked without any problems. Do the VR examples on keyshotvr.com work for you?

Offline hugo

  • Jr. Member
  • **
  • Posts: 99
Re: VR HTML code for Android Touch Screen?
« Reply #4 on: March 07, 2014, 10:27:56 am »
We just tested it and it worked without any problems. Do the VR examples on keyshotvr.com work for you?

There is no problem with your Website or your VR examples running in an Android environment.
My concern is with my PC created VR's. If I copy the entire folder and HTML code from my PC to a Folder on my Android tablet.
They don't play! :(

Offline Brandon Davis

  • Jr. Member
  • **
  • Posts: 77
    • KeyShot
Re: VR HTML code for Android Touch Screen?
« Reply #5 on: March 07, 2014, 01:43:27 pm »
As Thomas noted, we tried this here without any problems.

Can you provide us with an error message or screenshots of what you are experiencing?


Offline hugo

  • Jr. Member
  • **
  • Posts: 99
Re: VR HTML code for Android Touch Screen?
« Reply #6 on: March 08, 2014, 03:21:49 pm »
As Thomas noted, we tried this here without any problems.

Can you provide us with an error message or screenshots of what you are experiencing?

Indeed I can, My Tablet is a Samsung Galaxy Tab 2 10.1" 16GB Android 4.1 Tablet:  its PC identity is GT-P5113
there are no error messages displayed on the tablet when I try to run the PC created VR

Offline Brandon Davis

  • Jr. Member
  • **
  • Posts: 77
    • KeyShot
Re: VR HTML code for Android Touch Screen?
« Reply #7 on: March 08, 2014, 09:09:44 pm »
Thanks for these screen dumps.

What happens when you simply place your finger on your tablet screen and swipe back and forth? You said the VR's on our website work fine for you? (e.g. https://www.keyshot.com/vr/DirtBike/DirtBike.html)

It would be nice if you could open the browser's error console to see if any JS errors are displayed (i'm not sure how to open the error console on your version of firefox, but google will :) ). I can see that JS is being executed because it has loaded the frame(s).

What version of KeyShot are you using to generate your VR's?


Offline hugo

  • Jr. Member
  • **
  • Posts: 99
Re: VR HTML code for Android Touch Screen?
« Reply #8 on: March 09, 2014, 11:33:44 am »
This particular VR is a simple turntable of 72 frames, hence sliding the fingers left or right should cause the VR to react, but there is no screen movement, the image stays stationary.

However Pinching the fingers in and out on the Tablet, will Zoom the image in and out.
Its also not possible to see the entire picture on the tablet, the bottom part of the missing gold rectangle will not appear it simply becomes part of the white background, the VR is placed on.
More info:
Your https://www.keyshot.com/vr/DirtBike/DirtBike.html) requires a few seconds to load the frames, which shows in the KS LOGO, before the VR can be played (see attachment)

When I touch to play hurricane_VR.102.html, for a micro second the KS frame count logo appears, and then disappears. In other words it appears only to load the 1st frame, the other 71 are simply not loaded.

KS 4.3.18

Offline Brandon Davis

  • Jr. Member
  • **
  • Posts: 77
    • KeyShot
Re: VR HTML code for Android Touch Screen?
« Reply #9 on: March 10, 2014, 07:02:42 pm »
Can you open the browser error console to see if any errors are being written? I'm not quite sure how to open the console on your version of FireFox, but this article might help:
https://quality.mozilla.org/docs/mobile-firefox/firefox-mobile-enabling-the-error-console/

Offline hugo

  • Jr. Member
  • **
  • Posts: 99
Re: VR HTML code for Android Touch Screen?
« Reply #10 on: March 11, 2014, 08:59:43 am »
I know on a PC if I right click on the Firefox Browser, I can click the Inspect Element(Q) title and see the HTML code.
I was looking for that same ability on my Tablet, unfortunately FireFox Android does not have that ability.

Mozilla support might have an answer? https://support.mozilla.org/en-US/users/login
because right it looks like one can't play a KS VR on an Android device  :(

Offline Brandon Davis

  • Jr. Member
  • **
  • Posts: 77
    • KeyShot
Re: VR HTML code for Android Touch Screen?
« Reply #11 on: March 12, 2014, 02:29:22 pm »
Ok, I was able to locate this issue with one of the devices that we have here. I was able to debug the issue using the remote debugging feature in firefox, explained in this article: https://hacks.mozilla.org/2012/08/remote-debugging-on-firefox-for-android/

If you can email me brandon(at)luxion(dot)com, I will send you the new KeyShotVR.js file for you too try.

Offline hugo

  • Jr. Member
  • **
  • Posts: 99
Re: VR HTML code for Android Touch Screen?
« Reply #12 on: March 26, 2014, 12:46:41 pm »
I have been very busy at work. your request is on my todo list.  :)

Offline hugo

  • Jr. Member
  • **
  • Posts: 99
Re: VR HTML code for Android Touch Screen?
« Reply #13 on: April 09, 2014, 07:52:42 am »
If you can email me brandon(at)luxion(dot)com, I will send you the new KeyShotVR.js file for you too try.

I deleted the old KeyShotVR.js file then copied over the new file on my Samsung Tablet (GT-P5113) but it still does not work.

The KS logo appears in the top left hand corner, loads the files, then disappears, the 1st frame remains on screen, but there
is no touch control that allows moving to the next images. (pinching, and zooming the screen works)

I then tried several other VR files, with the revised KeyShotVR.js and got the same result.