Available Plugins
Autostarter
This plugin encapsulates two nifty, advanced autostarting functionalities:
- Only autostart a video the first XX visits, based upon a cookie. Useful if you want to draw the attention of new visitors, but don't want to annoy frequent visitors.
- Autostart the video muted, and restart with sound when a user clicks the display. Useful if you want to draw attention, but do not want to scare users with sound suddenly coming out of their speakers.
This plugin is compatible with version 4.1+ of the player.
Example
Here are two examples of the autostarter plugin in action, one with the count and one with the muted option. Below the player is the string of flashvars used.
You can revisit the autostart behaviour of this plugin by clearing your flash cookies. Therefore, rightclick the player, go to the Settings... menu and set the Local storage to 0.
file=/player/testing/files/bunny.flv&plugins=autostarter&autostarter.count=1
file=/player/testing/files/bunny.flv&plugins=autostarter&autostarter.muted=true
Configuration
The plugin is loaded with the flashvar plugins=autostarter. This will automatically load the latest version of the plugin straight off our servers. It offers two flashvars for tweaking the plugin:
- autostarter.count (1): The number of times a specific video should autostart.
- autostarter.muted (false): If set true, the player automatically starts the video muted and the count flashvar is ignored. When a user clicks the display, the video is restarted with sound.
Source code
The source code of this plugin can be obtained in a zip (click the zip links at the bottom) or through Subversion:
svn co http://developer.longtailvideo.com/svn/plugins/autostarter
If you don't have a Subversion client, check out Tortoise (Windows) or SC Plugin (MAC).
You don't need Adobe Flash to modify this plugin. Instead, you can edit the plugin with any text editor you like. The plugin can be compiled with the free, cross-platform MXMLC compiler. See our plugin compiling overview for more info.
