Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sv800

Pages: [1]
1
FAQ, Tips / Re: How can I add more allowed file extensions?
« on: August 13, 2006, 03:26:36 PM »
@ m3tallica and all other wmv-friends,

WMV as new valid file extension

1. add wmv as new file extension in your ACP -> Settings -> Valid file extensions

2. for wmv-files add the following code line into your includes/upload_definitions.php
Code: [Select]
$mime_type_match['wmv'] = array("video/x-ms-wmv");
or this (update ...)
Code: [Select]
$mime_type_match['wmv'] = array("video/x-ms-wmv", "application/x-unknown")

3. create a new wmv.html in templates/<your_template>/media/ like this
Code: [Select]
<!-- Template file for WMV Movies  -->
<embed id="VideoVIDEO"
name="VideoVIDEO"
pluginspage="http://www.microsoft.com/windows/windowsmedia/en/Download/default.asp"
src="{media_src}"
type="application/x-mplayer2"
EnableFullScreenControls="1"
AUTOREWIND="0"
SHOWSTATUSBAR="1"
AnimationatStart="false"
SHOWDISPLAY="0"
AUTOSIZE="1"
ENABLECONTEXTMENU="1"
SHOWCONTROLS="1"
PLAYCOUNT="0">
<br>

4. create a new wmv-icon as wmv.gif in templates/<your_template>/icons/ like this


... thats all ... now you can present wmv-files in your 4images gallery ...  8)
mawenzi

Oustanding..thanks, works perfectly...thanks for the advice

2
Is there a chance to have those postings in english.
I'm anxious waiting for a stable version of the template for the newest version.
Cheers

Pages: [1]
Post your comments here