simple movie code - CLASSID question

This is a discussion on "simple movie code - CLASSID question" within the Web Page Design section. This forum, and the thread "simple movie code - CLASSID question are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 13th, 2007, 01:25
New Member
Join Date: Oct 2005
Location: USA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
simple movie code - CLASSID question

Hi,

I was given this simple page code by a friend who is using it and it works perfectly for him. It is supposed to simply call a .mov file and put it in the middle of a black page. I've tried everything I can think of including taking out the meta and title code but I can't get it to work. All of my name and dimension parameters are correct. It seems to me that the problem has to be the CLASSID code but I don't know how to fix it, and I was wondering if the fix could be a generic fix so that I can share the code with other friends.

Thank you very much in advance!

Susan


Here is the page where it is working for my friend.

http://www.justinsmithportfolio.com/...soobvious.html

Here is my html page:

http://www.dreamaiden.com/movies/Reflections.html

My movie is in the same 'movies' folder.


Here is the code:


Code: Select all
<html>?<head>?<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />?<title>Reflections</title>
</head>?<body bgcolor="#000000">?<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">?<tr>?<td align="center" valign="middle">?<object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="480" height="270" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">?<param name="src" value="Reflections.mov">?<param name="autoplay" value="true">?<param name="loop" value="false">?<param name="controller" value="true">?<embed src="Reflections.mov" width="480" height="270" autoplay="true" loop="false" controller="true" pluginspage="http://www.apple.com/quicktime/"></embed>?</object>?</td>?</tr>?</table>?</body>?</html>

Last edited by VanessaJW; Oct 13th, 2007 at 06:10. Reason: Added the code tags in
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 14th, 2007, 17:15
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,780
Thanks: 0
Thanked 16 Times in 16 Posts
Re: simple movie code - CLASSID question

Ok

I see what's happened. Are you posting this into design view of dreamweaver because if you are, delete it all and switch to CODE view and paste this:

HTML: Select all
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Reflections</title>
</head>
<body bgcolor="#000000">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td align="center" valign="middle">
<object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="480" height="270" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="Reflections.mov">
<param name="autoplay" value="true">
<param name="loop" value="false">
<param name="controller" value="true">
<embed src="Reflections.mov" width="480" height="270" autoplay="true" loop="false" controller="true" pluginspage="http://www.apple.com/quicktime/"></embed>
</object>
</td>
</tr>
</table>
</body>
</html>
Good luck!
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 14th, 2007, 17:30
New Member
Join Date: Oct 2005
Location: USA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple movie code - CLASSID question

Hi Marc

Thanks for replying. Sadly this is not the answer! I see here that this forum has actually changed my code, adding ? in the spaces, etc. The code is correct as far as that goes. I even thought of what you are talking about.

Inititally I just uploaded the Text Edit document which is the straight code. That should have worked but all I got was a white page of code. I was hoping that would work so I could share the code with friends but it didn't.

I think tried what you just suggested- I copied/pasted the code into Source Code view of GoLive. That gave me a black page as it was supposed to and it put the QT icon in the middle like it was supposed to but it didn't AutoPlay=true. I could probably force it to work by creating the entire page in GoLive to begin with but I really wanted to know why this isn't working and if there was a solution so I could share the straight code with others.

I think it's the CLASSID code. It is supposed to tell it where to get the movie from I think. I also think I read that maybe a program like GoLive has to generate that CLASSID code. This is just not my forte and I was hoping someone would know.

Thank you for taking the time and trying to help !!

Susan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Oct 14th, 2007, 17:33
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,780
Thanks: 0
Thanked 16 Times in 16 Posts
Re: simple movie code - CLASSID question

If you look at the source code, you will see that is the reason why it isnt working. You need to re-paste the code above into a CODE view - not design. If you post it in the design view it renders as so:
HTML: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <title>Untitled Document</title>
  <meta name="Generator" content="Cocoa HTML Writer">
  <meta name="CocoaVersion" content="824.41">
  <style type="text/css">
    p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 12.0px Times}
    span.s1 {font: 12.0px Lucida Grande}
  </style>
</head>
<body>
<p class="p1">&lt;html&gt;<span class="s1"><br>
</span>&lt;head&gt;<span class="s1"><br>
</span>&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;<span class="s1"><br>
</span>&lt;title&gt;Reflections&lt;/title&gt;</p>
<p class="p1">&lt;/head&gt;<span class="s1"><br>
</span>&lt;body bgcolor="#000000"&gt;<span class="s1"><br>
</span>&lt;table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%"&gt;<span class="s1"><br>
</span>&lt;tr&gt;<span class="s1"><br>
</span>&lt;td align="center" valign="middle"&gt;<span class="s1"><br>
</span>&lt;object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="480" height="270" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"&gt;<span class="s1"><br>
</span>&lt;param name="src" value="Reflections.mov"&gt;<span class="s1"><br>
</span>&lt;param name="autoplay" value="true"&gt;<span class="s1"><br>
</span>&lt;param name="loop" value="false"&gt;<span class="s1"><br>
</span>&lt;param name="controller" value="true"&gt;<span class="s1"><br>
</span>&lt;embed src="Reflections.mov" width="480" height="270" autoplay="true" loop="false" controller="true" pluginspage="http://www.apple.com/quicktime/"&gt;&lt;/embed&gt;<span class="s1"><br>
</span>&lt;/object&gt;<span class="s1"><br>
</span>&lt;/td&gt;<span class="s1"><br>
</span>&lt;/tr&gt;<span class="s1"><br>
</span>&lt;/table&gt;<span class="s1"><br>
</span>&lt;/body&gt;<span class="s1"><br>
</span>&lt;/html&gt;</p>
</body>
</html>
the &lt; and &gt; is why it isnt working. Check it out for yourself, please!
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Oct 14th, 2007, 17:35
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,780
Thanks: 0
Thanked 16 Times in 16 Posts
Re: simple movie code - CLASSID question

If oyou are still getting an error after this, please make sure reflections.mov is in the same directory as reflections.html
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Oct 15th, 2007, 10:28
New Member
Join Date: Oct 2005
Location: USA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple movie code - CLASSID question

Hi Marc,

You were right. I was trying to upload a non-html editor file. I did view the source code and saw what you were talking about.

So, I copied/pasted the code into CODE VIEW of GoLive AND Dreamweaver.

Now it almost works. There is now a black page, and the movie is in the middle. The only thing that doesn't work is AutoPlay=true. I have no idea why. I even created a new GoLive document from scratch and manually set Autoplay but nada.

Thank you much for your assistance !

Susan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Simple Php Code Problem longstand PHP Forum 3 Oct 17th, 2007 21:02
Code this simple page MetallicWarfare Job Opportunities 0 Aug 4th, 2007 15:52
design & code problem - movie index strategy and loading movies betso Web Page Design 2 Sep 11th, 2006 20:35
Simple HTML code abalfazl JavaScript Forum 7 Sep 5th, 2006 19:49
Simple CGI code needed -urgently- (pleeaasee) coffee Other Programming Languages 1 Aug 16th, 2006 10:48


All times are GMT. The time now is 00:30.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42