Hello,
I have a webpage Header that currently has a Logo.png in it which works just fine.
I would like to try replacing it with an animated.gif and don’t want it to be an annoying and distracting eternal loop (which this image might otherwise be).
How would I, in Xway;
A: Have the animated.gif loop only for as long as a user hovers the mouse over the image.
OR
B: Alternatively have the animated.gif loop once or twice and then pause for some time before looping again (let’s say 10 or 20 secs).
I image that;
A: would work fine on a Laptop or Workstation, but perhaps not on a touch screen mobile device
AND
B: might be the better option to cover all devices.
The internet seems to encourage dropping the animated.gif for HTML5 video (MP4 and WebM formats), but it has been said that browsers like Safari are inclined to block these from auto-running - so at this point I am inclined to stick with the animated.gif unless this situation has changed. Totally open to whatever is the best modern solution.
I can get the animated.gif into my Xway project which loops constantly as expected, but haven’t worked out how to control it for either ‘Hover’ or ‘timed loops’.
I have found a number of useful sources online for adding these options to a website built from the ground up by people with brains the size of a planet, but haven’t worked out how I can insert this into into Xway.
Tried Inserting Markup (maybe not suitable in this case? Or entered in the wrong place)
Some suggestions require placing a static .gif over the top of the animated.gif and using CSS to switch between them. Some just seem to use HTML. I struggled to get the static image to sit on top of the animated image and then, didn’t really know where to insert the code.
Maybe there is a better way to do this in Xway than my so far feeble attempts.
I did refer to information regarding Video settings in the User Guide (p114 to 117), but either overlooked the obvious or wasn’t savvy enough to decipher what I may have needed for success.
Has anyone tried something like this in Xway who can advise on the best way to achieve this?
Thanks.