Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Embed video with still image on "top"

Posted on 2011-09-19
2
556 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 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

809 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