Author Topic: *.WMV-playback and autosize on different browsers  (Read 11638 times)

0 Members and 1 Guest are viewing this topic.

Offline windreiter

  • Pre-Newbie
  • Posts: 9
    • View Profile
*.WMV-playback and autosize on different browsers
« on: January 25, 2007, 11:34:49 AM »
Hello,

I've the problem that I generally post larger video-files than the php.ini of my hoster allows. So I upload the files directly into the specific folder (via FTP or a Perl-script) and run "check new images" after that. Until this point everything works fine and the video appears in the gallery.

On clicking the video, it starts palying in the details.php-window. Now, some browser shows it in a different way: IE6 and IE7 automatically resize the window of the media-player-plugin to the original resolution of the video. (This is what it should do on all browsers..)

But Mozilla (Suite and Firefox) start playing the video in the original plugin-size of ca. 240 x 200 px, but either the video is resized to this resolution or it's "cut off". That means, it'll be played in the resolution of the video-file, but you only see the upper-left corner with the size of this 240 x 200 px.

We only upload wmv-files, so i didn't checked it, if this happens to other video-formats, too. For including *.wmv-files to the gallery I followed the FAQ.

Can you help me?

Thanks a lot and greetings from South Germany,
Sebastian

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: *.WMV-playback and autosize on different browsers
« Reply #1 on: January 25, 2007, 11:46:24 AM »
Please post the Code of your wmv Template...

Offline windreiter

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: *.WMV-playback and autosize on different browsers
« Reply #2 on: January 25, 2007, 11:55:56 AM »
sorry, yes. it's the one from the FAQ:


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>

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: *.WMV-playback and autosize on different browsers
« Reply #3 on: January 25, 2007, 12:16:25 PM »
Schicke mir doch mal ein Beispiel per PN bitte...

Offline windreiter

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: *.WMV-playback and autosize on different browsers
« Reply #4 on: January 25, 2007, 01:04:25 PM »
isn't there a </embed> missing at the end of the template above?

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: *.WMV-playback and autosize on different browsers
« Reply #5 on: January 25, 2007, 01:57:44 PM »
Yes, but in the Pn you have send me the code with the </embed>, or not?  8O

Offline windreiter

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: *.WMV-playback and autosize on different browsers
« Reply #6 on: January 25, 2007, 02:09:00 PM »
no. the videos in the links that I've sent to you have been played with the template above.

btw, that's not the "fault". later, i'll modify and try the code you sent me. now i have to work a little bit ;-)

Offline windreiter

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: *.WMV-playback and autosize on different browsers
« Reply #7 on: January 25, 2007, 06:17:37 PM »
it seems, that the problem is the autosize-parameter. I tried a lot of variations of the wmv-template and the video plays fine with a fixed player resolution set with width and height (although the resolution is not correct in Mozilla) and the control buttons are displayed. But as soon as autosize is set to True resp. "1" an to fix resolution is given, you only see a upper left corner of the video and the control buttons are gone.

In the moment I run the following wmv-template:
Code: [Select]
<object ID="Player" width="384" height="334" CLASSID="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" STANDBY="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject">
<param name="autoStart" value="True">
<param name="fileName" value="{media_src}">
<embed type="application/x-mplayer2" ID="Player" width="384" height="334" pluginspage="http://www.microsoft.com/windows/windowsmedia/en/Download/default.asp" autostart="1" src="{media_src}">
</embed>
</object>
<br>

The size of the player-window is "locked", but it works until a solution of the fault is found. I'm not really happy with it, but I have no more ideas...


Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: *.WMV-playback and autosize on different browsers
« Reply #8 on: February 26, 2007, 04:19:02 PM »
I Get this problem as well, only in Firefox :-(

Offline son_gokou

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: *.WMV-playback and autosize on different browsers
« Reply #9 on: September 10, 2007, 05:21:45 PM »
Me two. With firefox and opera