Author Topic: Upload Movies and Play in the Template with Mediaplayer!  (Read 6357 times)

0 Members ve 1 Ziyaretçi konuyu incelemekte.

Offline Foto-Portal

  • Newbie
  • *
  • Posts: 43
    • View Profile
Upload Movies and Play in the Template with Mediaplayer!
« on: Ocak 29, 2007, 11:31:18 ÖÖ »
Hallo,

wie kann ich sowas initialisieren?
Hat jemand ein MOD dafür?

Also Member sollen  Movies uploaden und
auch auf der selben Seite abspielen können.

ein Beispiel ist hier: http://www.snuup.de/lite/datei4374.html

danke.

-------------------------------

Hi,

i need some MOD where Member can upload Movies
and Play in the same Template.

Like This: http://www.snuup.de/lite/datei4374.html

thx

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: Upload Movies and Play in the Template with Mediaplayer!
« Reply #1 on: Ocak 29, 2007, 12:29:41 ÖS »
just look at the sourcecode, and edit your media-template

(source)
Code: [Select]
<object id="Player" width="400" height="370"
classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"
standby="snuup.de is loading..."
type="application/x-oleobject">
<embed type="application/x-mplayer2"
name="MediaPlayer"
showstatusbar="1"
width="400"
src="./data/media/52/celine_dion.wmv"
height="370"
autostart="1">
</embed>
<param name="autoStart" value="true"/>
<param name="URL" value="./data/media/52/celine_dion.wmv">

<param name="BufferingTime" value="8000"/>
<param name="AllowChangeDisplaySize" value="true"/>
<param name="ControlType" value="1"/>
<param name="EnableContextMenu" value="true"/>
<param name="stretchToFit" value="true"/>
<param name="uiMode" value="full"/>
</object>

 application/x-mplayer2

Offline Foto-Portal

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Upload Movies and Play in the Template with Mediaplayer!
« Reply #2 on: Ocak 29, 2007, 12:48:35 ÖS »
@ trez

at first thx for your reply.
But it does'nt work.

I have changed your html-code by changing the URL

frome: ./data/media/52/celine_dion.wmv

to: ./data/media/1/

and replaced the whole code in the mp3-file: -> /templates/<your template>/media/mp3.html

so now i started to upload for ex. a mp3-file ...
but it does'nt work. ....

I can see in the template the Mediaplayer but
the player shows me "ready" ....

please what should i do.



just look at the sourcecode, and edit your media-template

(source)
Code: [Select]
<object id="Player" width="400" height="370"
classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"
standby="snuup.de is loading..."
type="application/x-oleobject">
<embed type="application/x-mplayer2"
name="MediaPlayer"
showstatusbar="1"
width="400"
src="./data/media/52/celine_dion.wmv"
height="370"
autostart="1">
</embed>
<param name="autoStart" value="true"/>
<param name="URL" value="./data/media/52/celine_dion.wmv">

<param name="BufferingTime" value="8000"/>
<param name="AllowChangeDisplaySize" value="true"/>
<param name="ControlType" value="1"/>
<param name="EnableContextMenu" value="true"/>
<param name="stretchToFit" value="true"/>
<param name="uiMode" value="full"/>
</object>

 application/x-mplayer2

Offline Foto-Portal

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Upload Movies and Play in the Template with Mediaplayer!
« Reply #3 on: Ocak 29, 2007, 01:09:32 ÖS »
ok
hab jetzt dies ausprobiert.

<!-- 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>

es funktioniert soweit, allerdings möchte ich nicht dass der player
automatisch startet. Es soll bereit anzeigen und der User soll
das ganze manuell starten.

gruß
--------------------------------------

So i found this.

it does work. BUT i do'nt want that the player
automatically starts.

what should i do

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Upload Movies and Play in the Template with Mediaplayer!
« Reply #4 on: Ocak 29, 2007, 01:56:14 ÖS »
... try this ...
Code: [Select]
AUTOSTART="0"
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Foto-Portal

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Upload Movies and Play in the Template with Mediaplayer!
« Reply #5 on: Ocak 29, 2007, 02:02:06 ÖS »
... try this ...
Code: [Select]
AUTOSTART="0"

@mawenzi

es hat super geklappt thx.

Wie kann ich die Größe des Player_Fenster ändern?

--------------------------------------

How kann i change the size of the Players-Window

Offline Foto-Portal

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Upload Movies and Play in the Template with Mediaplayer!
« Reply #6 on: Ocak 29, 2007, 02:05:01 ÖS »
hat sich erledigt.
habe mit

width="400"
height="400"

versucht und es hat geklappt.