A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Gmail MP3 player domain limitation

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    2

    Gmail MP3 player domain limitation

    Hi,

    Here's the player embed code:

    Code:
    <embed src="http://mail.google.com/mail/html/audio.swf" wmode="transparent" flashvars="audioUrl=http://sites.google.com/site/michaelmccolin/home/sample.mp3" width="500" height="27" quality="best" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
    The player doesn't work if the MP3 file is hosted outside Google domain.
    I wonder if there's a way to remove this limitation.

    Any help is greatly appreciated!
    Mike

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    That's generally how Flash works, you can only load files from the same domain, unless they've set up a special xml file giving you permission to load them.

    Why are you trying to use Google's player anyway?

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center