Where can I get the script that does this?

9 replies
I want to create a video squeeze page that displays the video image but prompts you to enter your email once you click play.

Where can I find the script that does this?

Any help is much appreciated.
#script
  • Profile picture of the author Gene Pimentel
    Ron, check out Josh Anderson's script... it does exactly this.

    http://www.triggerplayers.com/
    {{ DiscussionBoard.errors[1422580].message }}
    • Profile picture of the author RMC
      If you want the windows javascript message to popup this is not quite what I think you're looking for.

      However it is a cool trick to straight switch out the video with a form once they click.

      Here is an example from one of my sites..edit as needed.

      The "a" tag basically says, when my image is clicked take my thumbnail div and make it hidden. Then reveal the div that says movie (or whatever you want to call it)

      Code:
      <div id="thumbnail"> 
      <!-- put a thumbnail image of the video inside the a tage -->
      <a onclick="document.getElementById('thumbnail').style.display = 'none';
       document.getElementById('movie').style.display = 'inline';"> 
      <img src="image.jpg" name="preview"></a> 
      </div>
      
      <div id="movie" style="display:none;"> 
       <!-- code for my video or your opt-in form here -->         
      </div>
      If you define them as the same height and width it will be a seamless switch out. I also like to do a mousover image so that it looks like the play button highlights when they mouseover. Just add this code just before the close of the "a" tag above.

      Code:
      onMouseOver="document.preview.src='pressplayon.jpg';" 
      onMouseOut="document.preview.src='pressplayoff.jpg';"
      {{ DiscussionBoard.errors[1422653].message }}
  • Profile picture of the author jejaka
    that recommendations was great..!
    {{ DiscussionBoard.errors[1422755].message }}
  • Profile picture of the author TheGuruHub
    Excellent Info....thanks!
    {{ DiscussionBoard.errors[1422765].message }}
  • {{ DiscussionBoard.errors[1423348].message }}

Trending Topics