MP3 player does not work after its integration

Hello guys,.

I have an audio files (Fabricio Zuardi) player which is very nice, easy to work with and easy to texturize.

It works with an xml list.

What I did to load the player swf file in my main website (flash) file.

The thing is that I can see the titles of the songs, but the player will not work.

This is as a file.

Can someone give me a hint?

I have tghought it was a problem of location at the beginning, but I don't think it was. I tried all the possibilities.

Thank you

repeat_playlist = true;
playlist_size = 3;
player_title = 'test customizable title '.
song_url = ' media / Akropola.mp3 ";
song_title = "Impérial Teen - Ivanka";
AutoLoad = true
AutoPlay = true
playlist_url = "playlist.xml".
info_button_text = "Buy Album"
//playlist_url = " " http://hideout.com.br/shows/radio-test.XSPF "; "
//playlist_url = " " http://cchits.Ning.com/recent/XSPF/?xn_auth=no ";
radio_mode = true;


Stop();
constants
DEFAULT_PLAYLIST_URL = "playlist.xml".
DEFAULT_WELCOME_MSG = 'Hideout XSPF Music Player - by Fabricio Zuardi. "
LOADING_PLAYLIST_MSG = "Loading Playlist...". » ;
DEFAULT_LOADED_PLAYLIST_MSG = "-click to start.
DEFAULT_INFOBUTTON_TXT = "Track Info".
default playlist if none is passed by query string
{if(!playlist_url)}
{if(!song_url)}
playlist_url = DEFAULT_PLAYLIST_URL;
} else {}
single_music_playlist = "<? XML version=\"1.0\" encoding =------"UTF - 8\ '? "> < version playlist =------'1\" xmlns =-" http://XSPF.org/NS/0/ ------" > < trackList > '; ' "
single_music_playlist += "location > < track > <" + song_url + "< / location > < annotation > ' + song_title +" "< / annotation > < / track >" "
single_music_playlist += ' < / trackList > < / playlist >.
}
}
"info" button
info_mc._visible = false;
{if(!info_button_text)}
info_button_text = DEFAULT_INFOBUTTON_TXT;
}

initialization of variables
playlist_array = [];
track_index = 0;
volume_level = 100;
pause_position = 0;

playlist_xml = new XML();
playlist_xml.ignoreWhite = true;
playlist_xml. OnLoad = playlistLoaded;
mySound = new Sound (this);
playlist_listener = new Object();
playlist_list.addEventListener ("change", playlist_listener)
play_btn.onPress = JouerPiste;
functions
XML parser
function playlistLoaded (success) {}
{if (Success)}
var root_node = this.firstChild;
for (node var = root_node.firstChild; node! = null; node = node.nextSibling) {}
If (node.nodeName == "title") {}
playlist_title = node.firstChild.nodeValue;
}
If (node.nodeName == "trackList") {}
titles
var tracks_array = [];
for (var track_node = node.firstChild; track_node! = null; track_node = track_node.nextSibling) {}
var track_obj = new Object()
attributes of the track
for (var track_child = track_node.firstChild; track_child! = null; track_child = track_child.nextSibling) {}
{if(track_child.nodeName=="location")}
track_obj. Location = track_child.firstChild.nodeValue
}
{if(track_child.nodeName=="image")}
track_obj.image = track_child.firstChild.nodeValue
}
{if(track_child.nodeName=="title")}
track_obj.title = track_child.firstChild.nodeValue
}
{if(track_child.nodeName=="Creator")}
track_obj. Creator = track_child.firstChild.nodeValue
}
{if(track_child.nodeName=="annotation")}
track_obj. Annotation = track_child.firstChild.nodeValue
}
{if(track_child.nodeName=="info")}
track_obj.info = track_child.firstChild.nodeValue
}
}
track_obj. ' Label = (tracks_array.length + 1) + '. ";
{if (track_obj.title)}
{if (track_obj. Creator)}
track_obj.label += track_obj.creator + "-";
}
track_obj.label += track_obj.title;
} else {}
track_obj.label += track_obj.annotation;
}
tracks_array.push (track_obj)
}
}
}
playlist_array = tracks_array;
if(!playlist_size) playlist_size = playlist_array.length;
{if (AutoPlay)}
loadTrack()
} else {}
start_btn_mc.start_btn.onPress = loadTrack;
track_display_mc.display_txt. "Text = playlist_title +" "+ DEFAULT_LOADED_PLAYLIST_MSG;
if(track_display_mc.display_txt._width>track_display_mc.mask_mc._width) {}
track_display_mc.onEnterFrame = scrollTitle;
} else {}
track_display_mc.onEnterFrame = null;
track_display_mc.display_txt._x = 0;
}
}
} else {}
annotation_txt. Text = "error opening" + playlist_url;
}

}

playlist_listener.change = {function (eventObject)}
annotation_txt. Text = playlist_list.selectedItem.annotation;
location_txt. Text = playlist_list.selectedItem.location;
}

function loadTrack() {}

Function mode nosferathoo //Radio, more information on: https://sourceforge.net/Tracker/index.php?Func=detail & Aid = 1341940 & group_id = 128363 & Atid = 711 474
If (radio_mode & & track_index == playlist_size-1) {}
playlist_url = playlist_array [track_index] .location;
for (i = 0; i < playlist_mc.track_count; ++ i) {}
removeMovieClip (playlist_mc.tracks_mc ["track_" + i + "_mc"]);
}
playlist_mc.track_count = 0;
playlist_size = 0;
track_index = 0;
AutoLoad = true;
AutoPlay = true;
loadPlaylist();
Return (0);
}

start_btn_mc.start_btn._visible = false;
track_display_mc.display_txt. Text = playlist_array [track_index] .label;
if(track_display_mc.display_txt._width>track_display_mc.mask_mc._width) {}
track_display_mc.onEnterFrame = scrollTitle;
} else {}
track_display_mc.onEnterFrame = null;
track_display_mc.display_txt._x = 0;
}
mysound.loadSound(playlist_array[track_index].location,true);
play_mc.gotoAndStop (2)

"info" button
{if(playlist_array[track_index].info!=undefined)}
info_mc._visible = true;
info_mc.info_btn.onPress = function() {}
getURL (playlist_array [track_index] .info, "_blank")
}
info_mc.info_btn.onRollOver = function() {}
track_display_mc.display_txt. Text = info_button_text;
}
info_mc.info_btn.onRollOut = function() {}
track_display_mc.display_txt. Text = playlist_array [track_index] .label;
}
} else {}
info_mc._visible = false;
}
resizeUI();
{_root.onEnterFrame = Function ()}
HACK didn't need the volume on every enterframe
mysound.setVolume (this.volume_level)
var load_percent = (mysound.getBytesLoaded()/mysound.getBytesTotal ()) * 100
track_display_mc.loader_mc.load_bar_mc._xscale = load_percent;
{if (mySound.getBytesLoaded () == mySound.getBytesTotal ())}
_root.onEnterFrame = null;
}
}
}

stop_btn.onRelease = stopTrack;
play_mc.play_btn.onRelease = JouerPiste
next_btn.onRelease = nextTrack
prev_btn.onRelease = prevTrack
mysound.onSoundComplete = nextTrack;
volume_mc.volume_btn.onPress = volumeChange;
volume_mc.volume_btn.onRelease = volume_mc.volume_btn.onReleaseOutside = function() {}
This._parent.onEnterFrame = null;
}

function volumeChange() {}
This._parent.onEnterFrame = function() {}
var = (this._xmouse/this._width)*100%
if(percent>100) % = 100;
if(percent<0) % = 0;
This.volume_bar_mc._xscale = %
This ._parent = p .volume_level;
mysound.setVolume (percent)
}
}

function stopTrack() {}
mySound.Stop ();
play_mc.gotoAndStop (1)
mySound.Stop ();
mySound.Start ();
mySound.Stop ();
_root.pause_position = 0;

};
function playTrack() {}
if(play_mc._currentframe==1) {//play
seekTrack (_root.pause_position)
play_mc.gotoAndStop (2)
} else {if(play_mc._currentframe==2)
_root.pause_position = mysound.position;
mySound.Stop ();
play_mc.gotoAndStop (1)
}

};

function seekTrack(p_offset:Number) {}
mySound.Stop)
mySound.Start (int ((p_offset) / 1000), 1).
}
function nextTrack() {}
If (track_index < playlist_size-1) {}
track_index ++;
loadTrack();
} else {}
{if (repeat_playlist)}
last_track_index = track_index;
track_index = 0;
loadTrack()
}
}
}

function prevTrack() {}
if(track_index>0) {}
-track_index;
loadTrack();
}
}

function scrollTitle() {}
track_display_mc.display_txt._x-= 5;
If (track_display_mc.display_txt._x + track_display_mc.display_txt._width < 0) {}
track_display_mc.display_txt._x = track_display_mc.mask_mc._width;
}
}

/ * function resizeUI() {}
bg_mc._width = Stage.width;
track_display_mc.loader_mc._width = Stage.width - track_display_mc._x - 3;
track_display_mc.mask_mc._width = track_display_mc.loader_mc._width - 26;
if(track_display_mc.display_txt._width>track_display_mc.mask_mc._width) {}
track_display_mc.onEnterFrame = scrollTitle;
} else {}
track_display_mc.onEnterFrame = null;
track_display_mc.display_txt._x = 0;
}
If {(info_mc._visible)
info_mc._x = Stage.width - info_mc._width - 4;
} else {}
info_mc._x = Stage.width - 4;
}
volume_mc._x = info_mc._x - volume_mc._width - 2;
start_btn_mc._xscale = Stage.width;
}*/

function loadPlaylist() {}
track_display_mc.display_txt. Text = LOADING_PLAYLIST_MSG;
if(track_display_mc.display_txt._width>track_display_mc.mask_mc._width) {}
track_display_mc.onEnterFrame = scrollTitle;
} else {}
track_display_mc.onEnterFrame = null;
track_display_mc.display_txt._x = 0;
}

playlist
{if (playlist_url)}
playlist_xml. Load (playlist_url)
} else {}
single track
playlist_xml. ParseXml (single_music_playlist)
playlist_xml. OnLoad (true);
}
}

First, click on - load reading list
start_btn_mc.start_btn.onPress = function() {}
AutoPlay = true;
loadPlaylist();
}

main
Stage.scaleMode = "noScale".
Stage.Align = "LT";
this.onResize = resizeUI;
Stage.addListener (this);
if(!player_title) player_title = DEFAULT_WELCOME_MSG;
track_display_mc.display_txt. AutoSize = 'left ';
track_display_mc.display_txt. Text = player_title;
if(track_display_mc.display_txt._width>track_display_mc.mask_mc._width) {}
track_display_mc.onEnterFrame = scrollTitle;
} else {}
track_display_mc.onEnterFrame = null;
track_display_mc.display_txt._x = 0;
}
starts to play automatically if the autoplay parameter is present
{if (AutoPlay)}
start_btn_mc.start_btn.onPress ();
} ElseIf (autoload) {}
loadPlaylist()
}

custom menu
var my_cm:ContextMenu = new ContextMenu();
my_cm.customItems.push (new ContextMenuItem ("Stop", stopTrack));
my_cm.customItems.push (new ContextMenuItem ("Play!", JouerPiste));
my_cm.customItems.push (new ContextMenuItem ("Next", nextTrack));
my_cm.customItems.push (new ContextMenuItem ("Back", prevTrack));
my_cm.customItems.push (new ContextMenuItem ("Free download song", function() {getURL(playlist_array[track_index].location)}, true));
my_cm.customItems.push (new ContextMenuItem ("Add song to Webjay playlist", function() {getURL ("http://webjay.org/poster?media=" + escape (playlist_array [track_index] .location))}));
my_cm.customItems.push (new ContextMenuItem ("on the sly", function() {getURL ("http://www.hideout.com.br")}, true));
my_cm.customItems.push (new ContextMenuItem ("Crossfade", function() {}));
my_cm.customItems.push (new ContextMenuItem ("Mando Diao - paralyzed", function() {}));
my_cm.hideBuiltInItems ();
This.menu = my_cm;
resizeUI();

There are security issues when the contents are on different servers, when everything is on the same that one shouldn't. but maybe it has problem because you've added full url or something

in any case when you add a local link, have included a point on the beginning of the link? for example, if my flash is in the same directory as some "blahblah.jpg" files you refer to it as ".". "/ blahblah.jpg".

Tags: Adobe Animate

Similar Questions

  • DVD player does not work after update

    After you install SP3, my CD/DVD drive does not work with DVD but CD is fine.

    Hi Kebir,

    Run the patch from the link below: your CD or DVD cannot read or write media:http://support.microsoft.com/mats/cd_dvd_drive_problems/en-us

    In addition, you can follow the steps in the link below: how to troubleshoot common problems that occur when a Windows XP-based computer cannot read a CD or DVD: http://support.microsoft.com/kb/321641

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Flash player does not work after several tries to do a few things to fix.

    Hello

    I'm on a mac using OS X.

    The other day my flash drive has stopped working and said to date that I have done all this.

    Well after it still didn't work.

    It won't work for the online games on facebook.

    I downloaded and installed 10.2 but which does not yet seem to work, im now not so sure of what to do or how to fix it.

    Also do not know what I have to say here so if anyone can help please, it will be very much appreciated.

    Bunch, thanks Rach

    Location of plugins
    Watch in HD/Library/Internet Plug-ins / directory and see if you have the following two files:
    Flash Player.plugin
    flashplayer. XPT

    This site can help too: http://forums.adobe.com/thread/784614?tstart=0

    If you want to start, this Troubleshooting Guide for Mac gives instructions for installing and uninstalling with screenshots along the way so that you can see that you are doing it correctly.

    http://kb2.Adobe.com/CPS/865/cpsid_86551.html

    I hope this helps.

    eidnolb

  • Qosmio X 70-A-12N: BR-Player does not work after software update

    Hi guys

    Tried to watch the Hobbit Blue Ray tonight (the first time after the software update) the sound is fine but the picture is just a flashing green screen. Tried a new BlueRay just in case that was the record, but no, it wasn't the same.

    Any ideas of the question or the solution?

    Apart from the use of software preinstalled Toshiba Blu - ray, you can also try to play blu - ray discs using 3rd party software, like for example the VLC Player.
    Its freeware and tool in my opinion one of the best freeware players available on the market

  • MP3 player does not light after firmware update

    I recently downloaded the Sandisk firmware update software and completed the most recent firmware update. Everything is was the firmware update I turned off the player until the firmware has finished updating. It will not now power, or he can reset. Anyone know what is the solution, even if I have to fix, I have 2700 songs downloaded on it.

    Probably easiest and best Customer Support phone, and walk through the issue with them - they can provide an address if and when you get there.  In general, the guarantee is one year in the United States - I don't know if their job with the player more early may affect and extend this.  Of course, explaining that the player was fine until what SanDisk deinstitutionalized it and sent back to you should help.

    SanDisk Contact info. : https://www.sandisk.com/about/contact

  • DVD player does not work after upgrade to Windows 8.1.

    Original title: you stole my DVD player?

    MS,

    I bought a HP with Windows 8.0 a couple of years.  At this time, Windows Media Player played drive E: movies very well.  Apparently, the 'free' Windows 8.1 'upgrade' deleted the DVD player.  None of the DVD players free on the App store will play a movie from the drive.  Worse, some of them want a 5 stars before you try to play a disc, then don't play not the DVD at all AND want money for features like an equalizer, this or cela.  Misleading and contemptible, on their role and yours, but I'm sure, not illegal.  I buy a Chevvy, 6 months later in the middle of the night the dealer removes my air conditioner and then offers to sell me an air conditioner.

    Please give back me the DVD drive you removed.  (I don't hold my breath however).

    Sincere greetings.

    Hello Leo Tolstoy,

    Thanks for posting your query on Microsoft Community forum.

    I would be grateful if you can provide us with the following information to help us better understand the issue.

    1. What do you mean when you say "Windows 8.1 'upgrade' removed the DVD player?
    2. Are you talking about physical DVD drive or player applications? If you are talking about a reading application then please give us the name of the player application?
    3. All device drivers are updated?

    Just for clarification, we need the screen capture of the page where the problem would be highly appreciated.

    You can check the link below to add the screen shot in your message.

    How to include a screenshot in your message

    http://answers.Microsoft.com/en-us/Windows/wiki/windows_other-windows_programs/how-to-include-a-screenshot-in-your-post/2594b08e-32a3-476A-85A6-b021181be7e4

    Get back to us with all the information and the screen so that we can determine the root cause and provide you with the right measures.

    Kind regards.

  • After a computer crash, I reinstalled Windows XP, but Windows Media Player does not work.

    After a computer crash, I reinstalled Windows XP, but Windows Media Player does not work. I don't have reinstall all disks. Will install tools software system Dell, Sonic RecordNow, Sound Blaster Live, or CyberLink Power DVD play cd possible? Thank you.

    original title: Media Player

    Hello

    1. What is the exact error message or error code when you try to open Windows Media Player?

    2. what version of Windows Media Player?

    3. What is the issue you are experiencing during playback of the CD?

    I suggest you follow the Microsoft article reference and check if it helps.

    Troubleshooting playback in the Windows Media Player for Windows XP: http://support.microsoft.com/kb/306317

    Resources for the resolution of problems in Windows Media Player: http://support.microsoft.com/kb/843509

    I recommend you to install the software provided by Dell disk and check if it makes a difference.

    Note : using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • Why after reinstallation of vista, no adobe flash player does not work.

    Before a reinstall of Vista, I use Adobe flash player.  Now, after having to reinstall Vista, Adobe flash player does not work. Can I get the videos to play?

    Hello

    1. try to watch videos online are you using Internet Explorer?

    2. How do you reinstall Windows Vista on your computer?

    3. what happens when you watch her watch flash videos?

    4. have you installed flash player after you have reinstalled Windows Vista?

    To work on the issue, refer to these methods.

    Method 1:

    If you are facing the question about Internet Explorer, see the following links.

    The video problems when you use Internet Explorer

    http://support.Microsoft.com/kb/2532294

    Why Adobe Flash does not work in Internet Explorer?

    http://Windows.Microsoft.com/en-us/Internet-Explorer/help/Adobe-Flash-not-working

    Method 2:

    You can check if uninstall and reinstall the flash player help.

    Uninstall and reinstall the flash player and check if that helps.

    Uninstall Adobe Flash Player. Use the link below to download the flash player uninstall tool. Follow the steps mentioned in the link.

    http://kb2.Adobe.com/CPS/141/tn_14157.html

    See section provided below for instructions on troubleshooting.

    Troubleshoot Flash Player installation | Windows

    http://kb2.Adobe.com/CPS/191/tn_19166.html

    Note: The third-party products or services mentioned here are manufactured or provided by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

    Hope the information is useful.

  • VMware Player 6 VM - bridged network (Ethernet/LAN) adapter does not work after upgrade to Windows 10 - known issue?

    Hello

    I upgraded the PC host, but also virtual machines to Windows Pro 10.

    TheVMware Player 6 VM - bridged network (Ethernet/LAN) adapter does not work after upgrade to Windows 10...

    Is this a known issue?

    Thank you!

    Kind regards

    Joe

    SOLVED!


    I uninstalled VMware Player, including the abolition of the configuration files.


    re-installed VMware Player and it worked!

  • Device CD/DVD Toshiba HD DVD (not Bluray) does not work after installing Vista Service Pact 2

    Computer computer = laptop Acer Aspire AS9810-6829
    S/N = LXAF 15 707 0065 023 00 60V0
    Operating system = Windows Vista Ultimate... Service Pack 2
    Problem = DVD player does not work!
    DVD model = TOSHIBA DVGW/HD TS-L802A ATA Device

    Measures taken by the owner to correct the problem.
    1. check the Device Manager and records the following information:

    Windows cannot start this hardware device because its
    information of configuration (in the registry) is incomplete or damaged.
    (Code 19)

    Click on 'Search for solutions' to send data about this device to
    Microsoft and see if there is a solution available.

    2. Replace hard drive with a backup hard drive for 8 monthe ago.
    The DVD worked correctly with the old disk installed hard & Vista Service Pact 1.

    3. has concluded that the information in the registry for the DVD has been damaged.

    4. do you have a complete 'Clean Install' of the operating system and all applications.

    5. the problem seems to be resolved.  The DVD worked.

    6 Windows began its update procedure.  Several updates have been installed as well as
    Service Pack 1.  After each installation of the DVD worked fine.

    03:07 days of windows update, Windows Service Pack 2 has been installed.

    8. immediately after installing Windows Service Pact 2 DVD has stopped working
    Device Manager displays the same message that appears at the point 1 above.

    9. Please help!

    Ken Lewis
    E-mail address is removed from the privacy *.

    https://support.Microsoft.com/OAS/default.aspx?PRID=13014&Gprid=582034&St=1

    Free unlimited installation and compatibility support is available for Windows Vista, but only for Service Pack 2 (SP2). This support for SP2 is valid until February 26, 2010.

    Microsoft free support for Vista SP2 at the link above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Download video real player does not work in firefox v29.0.1 what should I do?

    I have firefox v29 and download real player does not work. What I would do. This option is enabled and the realplayer options are correctly set

    Most of the time after the release of a new version of Firefox, the modules can become inconsistent. It's the developer to solve these problems and update accordingly. You can contact the developer of their modules page.

    You can try to contact the RealPlayer support to see if they have any patches

    You can also use an alternative to RealPlayer (if you use it to download videos). These are based on the web and I'll give a few extensions so

    I use it every day and they work great.
    Here are a few extensions

  • Satellite U300 - 15 p CD/DVD does not work after installing Win 7 64 bit

    Hello guys...

    I have a portable Satellite U300 - 15 p with 4 GB of memory.
    I installed Windows 7 64 bit one mouth a go and after that, the DVD player does not work!
    Someone knows this problem?

    TKS

    This is the error

    SOFTWARE FOR DEVICE DRIVER HAS NOT BEEN INSTALLED SUCCESSFULLY
    * PLEASE CONSULT THE MANUFACTURER OF YOUR DEVICE TO HELP GET THIS DEVICE INSTALLED *.
    HM-ETmSE DGDGAM GSE - E1eNe ATA DEVICE * X * a failed

    Hello

    You must remove the upper and lower registry key filters.
    First remove the CD/DVD drive device manager.

    Then go to the registry and remove the filter top and bottom of this key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class {4D36E965-E325-11CE-BFC1-08002BE10318}

    After this reboot of the laptop.

    For more information, check this:
    http://support.Microsoft.com/kb/270008/en-us

  • MP3 player does not appear. Where can I find?

    I have music in my Media Player I want to download to an MP3 player. I plug it, and nothing happens. My computer does not recognize that something new is here. I can't find it when I search. Help!

    Hello

    1. What is the brand and model of your computer and the MP3 player?

    2 did you change on your computer before this problem?

    3. MP3 player recognized in the Device Manager?

    Open the Device Manager

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-sound/MP3-player-does-not-show-up-where-do-i-find-it/a9b93480-01F6-45c9-8fc9-09c44def623b

    Run the fix of the article and see if it helps.

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    You can also connect the MP3 player to a different USB Port and see if it works.

    You can also connect MP3 player on another computer and see if it helps.

  • Windows media player does not work, no sound

    the sound has stopped working and Windows Media Player does not work.

    Click on the link below. Enter your product number as that indicated on the Service tag on the bottom of the laptop (can be under the battery). You can also get the product number by pressing Fn + ESC key. After you enter the PN, click Next, then choose the software & Drivers.On the next page use the menu drop down to select your (probably Windows 7 64-bit) operating system. A list will fill with the drivers. Download & save the last Audio driver.

    http://h10025.www1.HP.com/ewfrf/wc/siteHome?cc=us&LC=en

    Go into the Control Panel, programs & features - software uninstall IDT. Reboot the laptop and install using the downloaded file.

  • Safari does not work after installing macOS Sierra

    Safari and apple store does not work after installing macOS Sierra

    Alas, my crystal ball is in the shop for cleaning, so you will need to provide more details on what "doesn't work" and above all error messages. First of all, let's start the App Store. Provide as much information as possible for those of us who do not sit on your shoulder.

Maybe you are looking for