pmchrislee
pmchrislee

Reputation: 159

How can I have a Flash video not autoplay after the first visit?

How can I have a Flash video not autoplay after the first visit?

Upvotes: 2

Views: 221

Answers (2)

PatrickS
PatrickS

Reputation: 9572

Use a SharedObject: http://jaycsantos.com/flash/the-trick-to-using-sharedobject/

Upvotes: 1

Marc B
Marc B

Reputation: 360682

Set a flash cookie after the video's played, and have the player check for its existence every time it fires up. If the cookie's present, then don't start playing.

You can do the same thing with a regular cookie, and just output the appropriate <param> based on the cookie's presence/content.

Upvotes: 1

Related Questions