Displaying a button at the end of video
When the video finishes it is set to run a simple js command that makes the button under it visible
Set up a default video instance with your video, using whatever display method you want. Here it is anchored
in a table cell (view source)
Add the button into the page (here this is added under the video in the same table. Set the visibility of the
button to "hidden" and give it an id (the id will be used to control it from the config file). See the source of this demo
for the example code.
In the video instance set the run on stream end option on:
f.tvideo1 = 'true';//runOnStreamEnd
In the video instance set the command to be run:
f.tvideo1 = 'parent.de7("myoptinbutton").style.visibility="visible"';//onStreamEnd
Where "myoptinbutton" is the id of the button in the page.
Set any other options you need such as autoplay, hide controls etc and test.