Can't hide video popUp on mobile device..!?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
drjanson
Posts: 24
Joined: Thu Feb 05, 2015 7:12 pm

Hi everybody,

this is my first obj2vr project an my first post in the forum as well. I hope everything's understandable and I don't ask questions that have been answered a thousand times before. Although I searched the forum and the website almost the whole sundy, I didn't find anything helpfull regarding my problem...

So here it is:
I created an object2vr with different hotpsots on the object. One of them opening a popup containing an iframe with a video inside... (description how i set this up at the end of the post)
Output is html5 and the everything is working on desktop computers, but on mobile devices the videoplayer is always visible when the website is loaded.
I think it's not the popup (tint and close-button are missing) but the video istself...

Here's the test-website:
http://weblab.stunde25.de/obj2vr/01/

Does anybody have an idea how this is happening and how I can hide that video-popUp on mobile devices?
And how to does the damn mobile thing know that it should show a video, allthough the iframe/video is not called or visible yet...!? :evil:

Any help would be appreciated!

thanks,
jan


--------------------
Skin-Setup:
Container "VideoScreen", visible, alpha=0
inside the container: an empty textfield that calls the iframe, close button, background tint
--------------------
Hotspot-Actions:
Set alpha=1 vor the "VideoSreen" Container, set text (<iframe...) for the textfield.
--------------------
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jan,
You need to load and unload the video.
To do this the text box would have no text.I know you say your text box is empty but something is there even if its something writing it when the object first opens. Then the hotspot will have the set text action to Load the video. The close button will also have a set text button with no text. This will unload the video from the text box when closed.
When I refresh the page on my mac and safari I see the load bar then the video player then it disappears.
Can you post your skin?
Regards,
Hopki
Garden Gnome 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/
drjanson
Posts: 24
Joined: Thu Feb 05, 2015 7:12 pm

Hi Hopki,
thanks for the fast reply!

Maybe I got you wrong, but I think actions are exactly as you described. (see attached skin)
Also when i click on the contactb button on the right (opens another popup with an image), the video is gone.
When clicking the video popup's hotspot after that, i works like it should. Close-button as well...
That's why I think it's just the video itself without surrounding popUp that you see on a tablet...

The order of things appearing might have been strange, because i tried loading a html without the movie into the iframe, and then forward (meta-refresh) to another html with the video...
Without the forwarding it looks like that:
http://weblab.stunde25.de/obj2vr/02/

Skin:
http://weblab.stunde25.de/obj2vr/skin.ggsk.zip

Thanks for checking that! :)
Jan

[edit]
btw: this is off topic, but is there any tutorial on how you did the animated zoom on your "vintage cup and saucer" obj2vr? Or what phrase do I have to search for?
thanks again. :D
[/edit]
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi, Its a forum post, see viewtopic.php?f=14&t=9366&hilit=move+to+view
Regards,
Hopki
Garden Gnome 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/
drjanson
Posts: 24
Joined: Thu Feb 05, 2015 7:12 pm

thanks for the link!

I'm hoping you'll find some time to check the skin and can make a suggestion how to fix that or a least a hint at what I could have done wrong...
:roll:

cheers,
jan
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Rather than just setting alpha try setting visibility or even scale.
So set the scale to 0/0 of the VideoScreen then have the action set element scale to 1/1 to open and the close button to set element scale to 0/0 to close.
Mobile devices are a little odd.
Give it a try and report back as Im interested to know.
Regards,
Hopki
Garden Gnome 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/
drjanson
Posts: 24
Joined: Thu Feb 05, 2015 7:12 pm

Visibilty was what I checked First, but i will give it a Second try just to be sure.
I will check scale after the weekend. And maybe position it outside the canvas might help..!? Will try that, too.
And than of course report it here. :D
So long,
Marianne.
Post Reply