473,320 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How do I open a video within the same iFrame when I have a still shot as the source?

Here's the iframe code I have now
Expand|Select|Wrap|Line Numbers
  1. <iframe src="still_for_video.jpg" width="500" height="450" frameborder="0" scrolling=no name="video" title="video"></iframe>
  2.  
I want the iframe to open with the .jpg and then when I click the .jpg, I want the video to play within the same iFrame. Please help!
Jul 15 '10 #1
1 1631
TheServant
1,168 Expert 1GB
@Francine Morden
What about embedding a video instead of using iframe? You can set the initial frame of the video, and most browsers when you hover over it, it will show a play button. Have a look at how to embed things like a youtube video and play with that.

What you have there will not work because as you say, your source is static. the only way I can see it being possible is using javascript to change the src when it's clicked. Javascript is what you need for events based actions.
Jul 16 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: SzokU | last post by:
Does javascript have acces to source code of previous page when I open a page from the same domain with window.open("new_page_with_script","_self","");? window.opener.document.innerHTML doesn't...
2
by: Larry Neylon | last post by:
Hi, What I am trying to do is to work out which part of a HTML page contained within an IFRAME has been selected. I have complete control over both the main window and the content of the IFRAME...
6
by: Razzbar | last post by:
I've written several utility pages that use a dynamically created iframe. The iframe typically has a form that is populated by the main page. Then the form is submitted to be processed, and the...
1
by: threepins | last post by:
Hi, I was wondering if it is possible to access an <img> tag that is buried within some external content in my site that is contained within an iFrame on a page within my site... confusing i...
3
by: Adrian | last post by:
Hi All, I load an Iframe within html page contained within another page and from the hosting page I would like to scroll to a given bookmark within the page loaded within the iframe without...
2
by: Romantschik | last post by:
Hi guys, i searched the web for a tutorial of embedding a datagrid control within an iframe. But I didn't find any tutorials. Can somebody help me or give me some short code. Programming...
1
by: HelpPlzz | last post by:
hi am looking for code to open video when a hyperlink is clicked using iframe and ajax. It would be a great help from ur side
7
by: Peter | last post by:
I have the following code which is executed from a modal web page - it works fine on most, but on some computers the Word loads into memory but never displays. This occurs with IE6 and IE7, but...
3
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
Note: My apologies for repeating this post from last week, but my nospam alias and profile account were incorrect. I think I have fixed this, so hopefully this post will trigger MS into a response...
3
by: lisles | last post by:
im working with asp.net 2.0 and im using master pages.i have a link to a pdf file...when i click on the link i want the pdf to open within the contentplaceholder.im using iframe within the content...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.