There is similar question here exporting-animated-gifs-animationrepetitions-1-doesnt-work
But the accepted answer there no longer works in 11.3, which is to use "AnimationRepetitions" -> 0
as it gives error
Export::erropts: The value 0 specified for the option AnimationRepetitions is invalid.
I need the animated gif file to play once and stop. By default, with no options, the animation in the Chrome browser always plays 2 times and then stops. I also tested it in FireFox.
The help page on AnimationRepetitions does not say anything about how to make it play only once. Using "AnimationRepetitions" -> 1
has no effect also, it plays 2 times always then stops. Has this changed in 11.3 from the time of the accepted answer above?
Here is MWE
SetDirectory[NotebookDirectory[]];
r=Table[
Grid[{{Row[{"time ",t}]},
{
Plot[Sin[t x],{x,-2 Pi,2 Pi}]
}}],
{t,0,10,0.5}
];
Export["anim0.gif",r,"AnimationRepetitions"->1]
loading the above animation to the browser (drag the file and drop it on a web page that is open), will show it plays 2 times.
question: How to make it play only once in 11.3? Is there other options to use? Version 11.3 on windows 7 home edition.
"AnimationRepetitions"
$+1$ times in my MMA 11.3, and as you said, a value of $0$ for"AnimationRepetitions"
is not accepted. $\endgroup$