View Single Post
  #63  
Old 02-27-2005, 10:28 AM
Lars A Lars A is offline
 
Join Date: Sep 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01236 seconds
  • Memory Usage 1,780KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete