Hide Media Player

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • alimbagirl
    Forum Member
    • May 2005
    • 4

    Hide Media Player

    I am trying to have an audio file play when a page is viewed. I do not want the media player to pop up over my window. Please help. I am not very good with the programming, so, if you can help please use my file name in the code. it is "EZ-Guide.wav". Thanks!
  • yosik
    Indigo Rose Customer
    • Jun 2002
    • 1856

    #2
    Hi,
    You do not need to have a media player running to play audio.
    Under the onShow TAB of the page, add the following action:
    Audio.Load(CHANNEL_BACKGROUND, "AutoPlay\\Audio\\EZ-Guide.wav", true, true);

    Good luck
    Yossi

    Comment

    • wild456897
      Forum Member
      • Oct 2005
      • 2

      #3
      Audio

      I did what you told him to do and it does not play the music

      Audio.Load(CHANNEL_BACKGROUND, "AutoPlay\\Audio\\AutoPlay\\Audio\\mc graw , tim - shes my kind of rain.wav", true, true);



      Wild

      Comment

      • wild456897
        Forum Member
        • Oct 2005
        • 2

        #4
        Audio

        got it working Thanks Wild

        Comment

        • yosik
          Indigo Rose Customer
          • Jun 2002
          • 1856

          #5
          Glad you did.
          But from your code I can see that you got ourself mixed up.
          AutoPlay\\Audio\\AutoPlay\\Audio\\mc graw , tim - shes my kind of rain.wav
          It looks like you double pathed your directories, Autoplay->Audio->Autoplay->Audio...

          Just a matter of cleaning up...

          Yossi

          Comment

          Working...
          X