Author Topic: Quick Time Template  (Read 5109 times)

0 Members and 1 Guest are viewing this topic.

Offline Renee

  • Pre-Newbie
  • Posts: 1
    • View Profile
    • http://www.adults.gr
Quick Time Template
« on: February 24, 2003, 11:47:50 AM »
Hi everybody  :D

Is anybody out there who knows if there is anyway for auto determination of the height and width of a movie to include it in the template?
By the way I've modified the mov template adding the OBJECT class. The new template is:

Code: [Select]
<!-- Template file for QuickTime Movies -->
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
WIDTH="352" HEIGHT="256"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="{media_src}">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="true">
<EMBED SRC="{media_src}" WIDTH="352" HEIGHT="256" AUTOPLAY="true" CONTROLLER="true"
KIOSKMODE="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED></OBJECT>

Cheers
Renee

Offline Uncle Holden

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Quick Time Template
« Reply #1 on: February 13, 2006, 05:30:09 PM »
Same question. Maybe use the {image_width} and {image_height}?

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Quick Time Template
« Reply #2 on: February 13, 2006, 05:36:18 PM »
Precisely. 8)

Quote

WIDTH="352" HEIGHT="256"


change (twice) to :

Code: [Select]

WIDTH="{image_width}" HEIGHT="{image_height}"


;)