Quote:
Originally Posted by docvader
I'm using this hack with great success. But I had another question about embedding players inside of posts. I'm embedding QuickTime, to show videos, and I'd like the background of the html that the QT player lives in (which gets embedded within the actual post), to match the postbit background color (all changeable, with the current style used, of course) Here's my html code:
Quote:
<html>
<head>
<title>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body bgcolor="#000000">
<OBJECT CLASSID="xxxxxxxxxxxx" WIDTH="320" HEIGHT="256"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="dechengwuxingbafa.mov">
<PARAM name="AUTOPLAY" VALUE="false">
<PARAM name="KIOSKMODE" VALUE="true">
<PARAM name="CONTROLLER" VALUE="true">
<PARAM name="LOOP" VALUE="false">
<EMBED SRC="xxxxxxxxx.mov" WIDTH="320" HEIGHT="256" KIOSKMODE="true" AUTOPLAY="true" CONTROLLER="true" LOOP="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
</OBJECT>
</body>
</html>
You can see what I mean here: http://x.russbo.com:16080/vb/showthread.php?t=61
I currently use black, as a default. Any idea what html code I can put into this, so that the background is not black, but, the color of the viewer's style's postbit background???
|
First of all Id like to thank ericgtr for the nice hack that I got working, and all the others that contributed with ideas and developments. Great job!
Now, I am in need to display Quicktime mov-files in posts in the same way, and I was first very happy to find docvaders contribution above.
But theres something fishy going on here... I have allmost no hair left on my poor old head. :ermm:
First out is the expression OBJECT CLASSID="xxxxxxxxxxxx".
Im a noob in vb and php, and even I can see that this will simply not work. It was easy to solve by going to Quicktime website and check the ID. Correct expression then becomes: OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" A bit different...
But that is NOT my problem.
My problem is passing a src parameter for the file location and name, to this statement: <PARAM name="SRC" VALUE="dechengwuxingbafa.mov"> and for the statement: EMBED SRC="xxxxxxxxx.mov"
The Windows Mediaplayer solve this by using {param} instead of URL+filename. Basic... :tired:
In the "Apple universe", I simply cannot find the same thing. I have to give an absolute URL+filename to make it work, but then my BB-code manager just plays the same movie whatever I do with the tags later on.
I mean, pressing the new icon mov.gif in my wysiwyg editor gives me the tags [mov][/mov] and in between I just want to give the URL+filename for my excellent movie. Different in every post...
Wont work...
I have tryed the trick using the "sample.mov" in my website root. No good.
My conclusion right now, before I felt forced to ask u expert guys for help: "How on earth can these wealthy MAC-users stay alive?" :tired:
I'll put up a reward of ?1.000.000 thanks to the individual who can explain how the apple code communicates and passes arguments in this case!