Help - Search - Members - Calendar
Full Version: How do I embed a web-prepared QuickTime movie
HTMLHelp Forums > Web Authoring > General Web Design
Ronnie
Would someone perhaps be kind enough to help an antique html ignoramus. who is capable only, just, of using NVU's WYSIWYG, by instructing me as to how to correctly insert the <head> code below please...Pretty please!? Memory is not what it used to be, (Never much good!) ...Learn something new...Forget something old. blink.gif Have tried for a prolonged period of time without success. Around my feet is littered torn out hair...Mine! Thank you.

QuickTime Instructions
* Please note, to properly validate as XHTML, the <style> tag and the first <script> tag should be placed within your page's <head> tag. ( Don't see a <style> tag anywhere!)

Web page head
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title>Top of the World</title>
<meta name="author" content="Ronnie">
</head>
-------------------------------------------------------
QuickTime: Use this code in the <head> of your web page:

<script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script>
<script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script>
<link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" />


Use this code in the <body> of your web page:

<script type="text/javascript"><!--
QT_WritePoster_XHTML('Click to Play', 'Land_sea_and_evening_sky-poster.jpg',
'Land_sea_and_evening_sky.mov',
'640', '496', '',
'controller', 'true',
'autoplay', 'true',
'bgcolor', 'black',
'scale', 'aspect');
//-->
</script>
<noscript>
<object width="640" height="496" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="Land_sea_and_evening_sky-poster.jpg" />
<param name="href" value="Land_sea_and_evening_sky.mov" />
<param name="target" value="myself" />
<param name="controller" value="false" />
<param name="autoplay" value="false" />
<param name="scale" value="aspect" />
<embed width="640" height="496" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"
src="Land_sea_and_evening_sky-poster.jpg"
href="Land_sea_and_evening_sky.mov"
target="myself"
controller="false"
autoplay="false"
scale="aspect">
</embed>
</object>
</noscript>



pandy
It doesn't matter where you put it as long as it is directly in HEAD, that is between <head> and </head> and not inside some sub-element of HEAD..

The body code you put where you want the player to appear.
Ronnie
QUOTE(pandy @ Apr 12 2009, 12:49 PM) *

It doesn't matter where you put it as long as it is directly in HEAD, that is between <head> and </head> and not inside some sub-element of HEAD..

The body code you put where you want the player to appear.


Many thanks for your response. I have tried it everywhere between <head> and </head> but without any luck. Must be another factor in play...But again...Thank you
pandy
So what happens? If you can post the URl to the page we can try to figure it out.
Ronnie
QUOTE(pandy @ Apr 12 2009, 02:07 PM) *

So what happens? If you can post the URl to the page we can try to figure it out.

Again I must thank you, and apologise for the delay in replying but I have been trying to sort it out here,with a little luck, the video plays but the 'Click to Play' which should be in the center of the video is below the video and to the right. There is also an additional black Quicktime panel above and to the left of the video. I need to delete something, but I don't quite know what! wub.gif Nothing is published yet but I thank you for your offer to help out by taking a look at the URL...Greatly appreciated. Would the source code be of any value? (There is now more hair on the floor than there is on my head!)
pandy
The URL (address) to a page would be better so we can see it at work (or not).
Ronnie
QUOTE(pandy @ Apr 12 2009, 07:11 PM) *

The URL (address) to a page would be better see we can see it at work (or not).


Here is the URL of the page 'as is'...Well...Almost! [URL removed]

And here is what happens to it when I insert the codes provided by QuickTime: [URL removed]

The movie in question is at the bottom of the page.

a) The smaller version should not be there
b) The 'Click here to Play' is misaligned.

As it is a large file it takes quite a while to load after you do click.

Thank you for any suggestions or assistance you might find possible...And thank you anyway if you don't find it possible.
Ronnie
QUOTE(pandy @ Apr 12 2009, 07:11 PM) *

The URL (address) to a page would be better so we can see it at work (or not).


PS. The audio should be contained within the video and not commence when the page loads, but only when the video is loaded fully and the 'Play' button clicked...'Click to Play' seems to have sorted itself out!...Somehow!...Wasn't me! Honest!
pandy
You've really bought that domain! biggrin.gif
That's way cool! I thought you'd made a typo first and tried to correct it to no avail. I guess you once had a site with that username at geocities?

The small movie, isn't that caused by this? It doesn't play for me when i go to it directly, so I can't check if it's the right movie. It plays in the page though.

HTML
<center>
<embed src="http://www.ronald666-geocities.com/Land_sea_and_evening_sky.mov"></center>


You almost have me crying now. Very pretty scenery and that song always gets to me - I prefer the original Danny Boy though. When they come to "But come ye back..." I'm swallowing hard. wink.gif
pandy
Heh, now it has stopped to play in the page too, but yes, the small one is embedded with the HTML I said.
Ronnie
QUOTE(pandy @ Apr 13 2009, 01:30 PM) *

You've really bought that domain! biggrin.gif
That's way cool! I thought you'd made a typo first and tried to correct it to no avail. I guess you once had a site with that username at geocities?

The small movie, isn't that caused by this? It doesn't play for me when i go to it directly, so I can't check if it's the right movie. It plays in the page though.

HTML
<center>
<embed src="http://www.ronald666-geocities.com/Land_sea_and_evening_sky.mov"></center>


You almost have me crying now. Very pretty scenery and that song always gets to me - I prefer the original Danny Boy though. When they come to "But come ye back..." I'm swallowing hard. wink.gif


Ach! Yer jist a big softie! (Me too!) Many thanks for your time and effort...I'll just have to plutter away until I get it right, which is not easy when you don't know how! blink.gif The geocities site is current, this is just a page from it with the link removed as the next page reveals personal details. T'Was composed??? for someone else, and really belongs to them, I only tried to put it together, so if possible, can the URL's I submitted be deleted? Forgive my ignorance...I only got here yesterday, mind numbed! No improvement today!:D And really have not taken the time to read what can and cannot be done in here...I know...I know...I should have!
pandy
How is the "Click here to play" misaligned? It's in the middle of the movie box for me. Anyway, that's part of the player, not HTML.
Ronnie
QUOTE(pandy @ Apr 13 2009, 02:43 PM) *

How is the "Click here to play" misaligned? It's in the middle of the movie box for me. Anyway, that's part of the player, not HTML.



From previous message:
"PS. The audio should be contained within the video and not commence when the page loads, but only when the video is loaded fully and the 'Play' button clicked...'Click to Play' seems to have sorted itself out!...Somehow!...Wasn't me! Honest!" OOPS! Just repeated myself...Excuse me!
Ronnie
[quote name='pandy' date='Apr 12 2009, 12:49 PM' post='36066']
It doesn't matter where you put it as long as it is directly in HEAD, that is between <head> and </head> and not inside some sub-element of HEAD..
The small movie, isn't that caused by this? It doesn't play for me when i go to it directly, so I can't check if it's the right movie. It plays in the page though.

HTML
<center>
<embed src="http://www.ronald666-geocities.com/Land_sea_and_evening_sky.mov"></center>
"

100% correct! All is functional now and I must thank you for your time and patience...Not to mention your expertise!
Can the URL's I gave you now be deleted? I would activate the link for your benefit, but you wouldn't have time to trawl through 23 pages! And a private site would then become visible to the world! I'm just shy as well as stupid!
Many thanks...
Ronnie



Darin McGrew
QUOTE
Can the URL's I gave you now be deleted?
Please see the Rules link at the top of the page.
Ronnie
QUOTE(Darin McGrew @ Apr 14 2009, 04:27 PM) *

QUOTE
Can the URL's I gave you now be deleted?
Please see the Rules link at the top of the page.

Thank you! Yes...I know I should have taken time to read the rules...But I was too busy tearing my hair out! Ignorance is bliss...Certainly true in my case!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.