Simple animation

hi i’ve just made a simple animation, it works pretty well when i use live preview, just press enter

but when i publish the movie , i get different result,

anyone can help?
Thx

I attached the file below