Indigo Rose Software
  #1  
Old 11-22-2007
BlueMe BlueMe is offline
Forum Member
 
Join Date: Jul 2007
Posts: 38
WMP plugin stops playing when switching pages

Hi guys,
I have a problem, I've read -all- 167 pages (AMS 6.0 subforum) and didn't find the answer i wanted. I usually don't ask for help but this time, im stuck at this.
I did find something related with my problem and also a thread (wich I forgot to bookmark/save) in wich is mentioned that this is the default behaviour of WMP plugin, not playing when changing pages :(

I have six pages in my application, in the first page i have the media_player plugin from wich users can open an audio/video file but if I browse to another page, the plugin stops playing.

After reading a lot of this forum, I've asked a member here (on YM!) wich said it would post an example, since at that point I wasn't in hurry, I've waited... but no example, so now I'm asking you, all:

Is there a way I can solve this? How?

I need the media_player plugin or else my application in wich I've put a lot of time and effort will be very boring :(

Last edited by BlueMe; 11-22-2007 at 07:27 AM.
Reply With Quote
  #2  
Old 11-22-2007
usernameCasper's Avatar
usernameCasper usernameCasper is offline
Forum Member
 
Join Date: Nov 2006
Posts: 306
Hey Blueme,

Have you already tried to inheret the WMP-page on other pages?

Hth,
-Casper
Reply With Quote
  #3  
Old 11-22-2007
BlueMe BlueMe is offline
Forum Member
 
Join Date: Jul 2007
Posts: 38
Yes, I tried that and nothing, stops playback same as before.

I'm asking myself, why this plugin isn't that well documented.
For example, you have the option to hide the transport controls but then you can't code Prev/Next?

In the plugin's help file, you have just "SEEK"

EDIT: Under the last post, there's "Similar threads" I just found that thread wich I forgot to bookmark: http://www.indigorose.com/forums/showthread.php?t=15518

I'm thinking (and hoping) that it must be a way to do this when you can do so much with AMS.

Last edited by BlueMe; 11-22-2007 at 08:39 AM.
Reply With Quote
  #4  
Old 11-22-2007
usernameCasper's Avatar
usernameCasper usernameCasper is offline
Forum Member
 
Join Date: Nov 2006
Posts: 306
I don't know about this plugin, never used it.
Can't you store the playlength in a global variable to be used in other pages
to set the position ?

Maybe that works, if it won't I can't help you, maybe someone else.

Hth,
Casper
Reply With Quote
  #5  
Old 11-22-2007
BlueMe BlueMe is offline
Forum Member
 
Join Date: Jul 2007
Posts: 38
Doing that won't do me any good, even if it would work it would be a gap when switching pages, besides that I use streams as well..

Thanks for trying to help Casper.
Reply With Quote
  #6  
Old 11-22-2007
srussell's Avatar
srussell srussell is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Arizona
Posts: 77
How about creating single page with the WMP video and change the other content dynamically? You could change the content of a label or paragraph object as needed.

I haven't seen your app, but you could show/hide groups of objects with variables... i.e show Paragraph 2, hide Paragraph 1, etc. as well

Hope that helps...

Last edited by srussell; 11-22-2007 at 09:01 AM.
Reply With Quote
  #7  
Old 11-22-2007
Adam's Avatar
Adam Adam is offline
Indigo Rose Staff Member
 
Join Date: May 2000
Location: Indigo Rose Software
Posts: 2,154
srussell makes a good point. All objects are per-page so there is not going to be an easy way to span multiple pages with a single playing object.

Adam Kapilik
Reply With Quote
  #8  
Old 11-22-2007
azmanar's Avatar
azmanar azmanar is offline
Indigo Rose Customer
 
Join Date: Oct 2004
Location: East, South & West Asia
Posts: 948
Hi,

Currently, Audio/Video in WMP Object and FLASH object will stop when changing pages.

However, there is a possible alternative concerning Audio only.

AUDIO (ASF/MP3/WMA/OGG/WAV) if running in AMS Audio Channel ( either background or narration) will continue to play even after changing pages until you practically STOP IT or stopped by itself when finished.

Downloadable example here.

I'm using RadioButtons as playlist for this example. A ListBox Playlist is a possible alternative.

SRussell's suggestion is better if there is streaming from servers.
__________________
Newbie Examples
------> AMS 7.5 : amstudio.azman.info
----> AMS 6 & 5: www.azman.info/ams/
----> Twitter: www.twitter.com/azmanar/

Last edited by azmanar; 11-22-2007 at 02:47 PM.
Reply With Quote
  #9  
Old 11-23-2007
BlueMe BlueMe is offline
Forum Member
 
Join Date: Jul 2007
Posts: 38
I thought about that, srussell, but I didn't know how to acomplish it. Now when u reminded me about this option i finally see how to do it.

To make my job easier it would be great if i could group some buttons, something like this.

(Page1) btn_Internet = btn_Opera, btn_Yahoo, btn_oDC
(Page2) btn_Multimedia = btn_Winamp, btn_BSplayer, etc, etc

Currently I have 6 pages that contain over 100 buttons, it would be such a pain to start over again.

If I can group buttons as explained above, I'll be able to do someting like this:

Page1 (OnClick)
btn_Internet.Hide
btn_Multimedia.Show

Am I making any sense here?

@Adam, I'll post a feature request soon, about this plugin.
@azmanar, thanks for your help, but that's not what i'm looking for.
Reply With Quote
  #10  
Old 11-23-2007
srussell's Avatar
srussell srussell is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Arizona
Posts: 77
Show/Hide Groups

This is kind of a down and dirty way to do this, but you can use the sequentially numbered objects, the visibility parameter and global functions to show/hide various groups... The Flash object should play uninterrupted when showing/hiding objects. Please check the global functions and the function calls from the radio buttons.

See attached sample...

We may want to suggest a "Group" parameter in the Autoplay objects dialog and the ability to apply certain properties (such as Visibility...) to the group at runtime. We added something like that to Mediaforge... Comes in handy.
Attached Files
File Type: apz ShowHideGroups.apz (133.2 KB, 73 views)

Last edited by srussell; 11-23-2007 at 06:40 PM.
Reply With Quote
  #11  
Old 11-23-2007
BlueMe BlueMe is offline
Forum Member
 
Join Date: Jul 2007
Posts: 38
Thanks a lot srussell, this is perfect, i will post my results in a day or two. I have to modify a lot of things, so it will take some time.
I'll show some screenshots of my project when i'm done.

Thanks for your help guys, it's really appreciated
Reply With Quote
  #12  
Old 11-24-2007
srussell's Avatar
srussell srussell is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Arizona
Posts: 77
Quote:
Originally Posted by BlueMe View Post
Thanks a lot srussell, this is perfect, i will post my results in a day or two. I have to modify a lot of things, so it will take some time.
I'll show some screenshots of my project when i'm done.

Thanks for your help guys, it's really appreciated
Glad that worked out for you... Let us know how it goes...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
media player plugin multiple pages kurtgamer AutoPlay Media Studio 6.0 6 03-26-2006 01:55 AM
MP3 not playing with WMP plugin chrisrobbins AutoPlay Media Studio 6.0 3 03-16-2006 01:53 AM
Use buttons Back & Fwd in WMP Plugin Jorge Espinoza AutoPlay Media Studio 6.0 4 03-03-2006 03:13 PM
Getting file info from the WMP plugin Roboblue AutoPlay Media Studio 6.0 0 11-30-2005 03:37 PM
mp3 and switching pages grommit AutoPlay Media Studio 4.0 8 12-20-2002 09:50 AM


All times are GMT -6. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software