Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8

Thread: Media Player

  1. #1
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790

    Media Player

    I have created some software demo videos which are compiled as wmv file (need the small file size). I am using an AMS app with the MediaPlayer plugin to allow the user to browse and view the videos.

    All works well except for one problem. The videos were recorded at 800 x 600. I display the videos in the MediaPlayer plugin on the page and I have a button you can click to make the video go full screen. The problem is that if the users screen is set to a higher resolution than 800 x 600 the videos are stretched to fill the screen which makes them look really bad.

    Is there any way to force Media Player to play the video at the resolution it was recorded at even when set to full screen. I know this is not an AMS issue but rather a Media Player issue but I am hoping someone has solved this some how.

    I am beginning to think I have wasted my time with WMV files and Media Player and need to switch to AVI and the Camtasia Player but the files are so much bigger

    Thanks in advance.
    Dermot

    I am so out of here

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hi. What happens if you deploy them in a project which is set to 800 X 600, kiosk mode? I might be wrong but I think this would give you full screen at 800 X 600 and "original size" video with a black matte at higher resolutions.

  3. #3
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Turn off the context menu and use something like this to resize the plugin in your button

    Code:
    Plugin.SetPos("MediaPlayer", YourX, YourY)
    Plugin.SetSize("MediaPlayer", 800, 600)

  4. #4
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Thanks for the replies.

    I am using the MediaPlayer action as below:

    MediaPlayer.SetFullScreen("Player", true)

    This basicaly opens Windows Media Player in full screen mode and it continues playing the video that is playing in the MediaPlayer object on the AMS page. When you close full screen mode in Windows Media Player the video just goes back to playing in the MediaPlayer object on the page. It's great feature but you have no way to specify the size.

    Turn off the context menu and use something like this to resize the plugin in your button
    Yes Worm this might be the best option, just resize the control to take up the full page at 800 x 600 and not use the SetFullScreen action.

    I just wish there was a way to force MediaPlayer to play a video at the correct resolution. I don't mind if on larger resolutions there is empty space around the video, at least the video won't be distorted. I find it hard to believe that Media Player does not let you do this, unless I am missing something.

    What happens if you deploy them in a project which is set to 800 X 600, kiosk mode? I might be wrong but I think this would give you full screen at 800 X 600 and "original size" video with a black matte at higher resolutions.
    Thanks Corey, I can't use Kiosk mode but otherwise what you suggest is the same as Worm.

    Thanks guys.
    Dermot

    I am so out of here

  5. #5
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Perhaps creating a second [kiosk mode] app just to show the videos which launches and closes via your main app?

  6. #6
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote Originally Posted by Corey
    Perhaps creating a second [kiosk mode] app just to show the videos which launches and closes via your main app?
    After much testing I think yes Corey that is the only solution. A second app in kiosk mode to show the video. That way I can make the MediaPlayer object 800 x 600 and I don't have to worry about the task bar and the video will look perfect.

    Thanks Corey, I was just about to scrap the whole Media Player thing.
    Dermot

    I am so out of here

  7. #7
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    No problem. If it makes you feel any better I've also wrestled with this very conundrum many times, particularly during the production of the Speedy Training CDs. For me the end solution was just to deploy everything as .AVI [Camtasia] and let people watch them in their own media player if they like, but that worked for us because we had enough room to fit all the content on the CDs... Tricky stuff. Glad to hear you got a workable solution.

  8. #8
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Works perfectly
    Dermot

    I am so out of here

Similar Threads

  1. Media Player 9 Song Titles
    By pauldoty in forum AutoPlay Media Studio 4.0
    Replies: 3
    Last Post: 04-22-2003, 02:50 PM
  2. Media Player 9.0 Issues in AMS40
    By Brett in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 01-23-2003, 10:26 AM
  3. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  4. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  5. Replies: 0
    Last Post: 10-04-2002, 10:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts