?
Solved

Embed video with still image on "top"

Posted on 2011-09-19
2
Medium Priority
?
590 Views
Last Modified: 2012-08-14
I have a video that needs to be used on a webpage.  I understand how to do that basic item. What  I am looking for a way to overlay a still image on the container that when clicked will start the video playing on the site.  The issue I have found with YouTube and Vimeo is that the freeze frame they use for the embed image is the exact middle of the video.  Typically this frame is not very pleasant to look at and does not convey what the video is about.  I am hoping to have nice looking image that will keep the user on the site not open a new window to the video hosted site.
Thanks
0
Comment
Question by:tty5
2 Comments
 
LVL 38

Accepted Solution

by:
lherrou earned 2000 total points
ID: 36566376
tty5,

Basically, the best way to do this is with CSS and Javascript. Typically, you overlay a container with your image, and then use OnClick to remove that layer and start the video.

The following is one example of how to go about it: http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=401

Cheers,
LHerrou
0
 

Author Closing Comment

by:tty5
ID: 36593065
Sorry for the delay I was hoping to try it out before I responded but time got away from me. I am sure it will work. I am working mostly on legacy sites 7+ years old and I learn "new" things on an as needed basis.  

And yes, I remember NS Horizons! chuckle.  If you called for a system serial number in the late 80's there is a good chance you spoke to me, we were one of 2 phone numbers techs would call.  Hard to imagine that now.  Thanks for your help.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
This video teaches users how to migrate an existing Wordpress website to a new domain.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question