Hey Armin,
thank you very much and sorry for the delayed answer! Thats what I was looking for!
Br
Mario
Hey Armin,
thank you very much and sorry for the delayed answer! Thats what I was looking for!
Br
Mario
@mariusjopen I think the problem is, that the jQuery Code runs before the Instance of Lay Theme is fully loaded. So, I just would need a event like "hey Laytheme is now fully loaded!", that my custom code can wait for. You know what I mean? Is there a event, function or something I get access from outside?
@mariusjopen oh yeah, sorry! It's disabled now.
I set a id-attribute for every project-thumbnail on the category page (for example "p05"). Then I update the href of the link of the project thumb with the same string as parameter (?project=p05). Then the project-page is being shown. At the end of this page I've got a Link "Back to overview", the href of this link should be updated with the parameter of the browser's url (=> ?project=p05).
When the site is opening the category page again a jQuery function should be called that is getting the parameter of the url, to know what Project was clicked before and then scroll to that project thumbnail. Actually it's working, but sometimes the site doesn't reload and just changes the url and the view of the app. That's why the function that puts parameters on the links isn't called. So I need a trigger for that function. Maybe something like "if the new app-route is fully loaded then call the jquery function XY".
I hope I described it so, that you can understand my problem ;-)
Here you can see the test-version of the website:
http://kunden.ruftop-agentur.de/christophspranger/
Thanks in advance!!
Hi,
is there a way to listen to the update Event (if the app-instance reloads but the browser/page doesn't) from outside the instance? I'm changing all links on the page via jQuery function. And i need to call the function for that if something on the App is changing (for example, if i click on a project).
Is there a way to get this kind of information out of the app?
BR
Mario
Hey Armin!
Thank you very much!! :-)
Yes a play on touchstart would be perfect. But also a option to deactivate the autoplay or even to put in a image-thumbnail only for the mobile version. That all would be awesome!
Thanks in advance!
I think a possible solution could be the following: If the mobile version is activated, the video thumbnail disables and only the thumbnail image is shown. Is there a way to do that?
Hi,
on mobile version all my video thumbnails plays automatically, even if i checked "Video Thumbnail Behaviour" in the customizer to "Play on mouseover". In the DOM the video-Element has a autoplay-attribute, but only in mobile version! In the desktop version the element does not have this attribute. If I play with jQuery to remove the attribute or stop the video, I have to do it with delays or timeouts, because I have to wait until all video-elements are loaded, so thats bulls**t...
Can anyone help me please? I'm getting quite frustrated on this.... :(
Thanks in advance &
cheers
Mario