Flash player not playing

I cant get this flash mp3 player to play in the page when i
make the play list variable a $_GET value. If the number is hard
coded it works.
$listsql = "SELECT tracks FROM photos_playlist WHERE id = '"
. $_GET['list'] . "';";//if this is a hard coded number like 4 the
player works
$listquery = mysql_query($listsql);
$listres = mysql_fetch_assoc($listquery);
$list_songs = explode(",", $listres['tracks']);
foreach ($list_songs as $songs_id) {
$play_listsql = "SELECT * FROM photos_music WHERE song_id =
'" . $songs_id . "';";
$play_listres = mysql_query($play_listsql);
$play_list_array = mysql_fetch_array($play_listres);
$playlist[] = $play_list_array['file_name'];
$title[] = $play_list_array['song_title'];
sort($playlist);// make an alphabetical ordered list (if you
don't want an ordered list, just comment this line)
// echoing the playlist to flash
$dir = "mp3/";
$the_player = "<player showDisplay=\"yes\"
showPlaylist=\"no\" autoStart=\"yes\">\n";
for ($i=0; $i<sizeof($playlist); $i++) {
$the_player .= "<song path=\"$dir{$playlist[$i]}\"
title=\"$title[$i]\" />";
$the_player .= "</player>";
echo $the_player;
then in the body
<div align="center">
<script language='JavaScript' type='text/javascript'>
document.write('<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="301" height="212">');
document.write('<param name="movie"
value="musicplayer.swf?playlist=viewalbum.php" />');
document.write('<param name="quality" value="high"
/>');
document.write('<param name="wmode" value="transparent"
/>');
document.write('<embed
src="musicplayer.swf?playlist=viewalbum.php" quality="high"
wmode="transparent"');
document.write('pluginspage="
http://www.macromedia.com/go/getflashplayer"');
document.write('type="application/x-shockwave-flash"
width="301" height="212">');
document.write('</embed></object>');
</script>
The playlist shows up correct in the source code of the page,
but it won't play unless the $_GET['list'] is a hard coded number??
can anyone figure out why its not playing?

I solved the problem by making the $_GET variable a parameter
in the url that calls the flash player, i changed these two lines
from:
document.write('<param name="movie"
value="musicplayer.swf?playlist=viewalbum.php" />');
document.write('<embed
src="musicplayer.swf?playlist=viewalbum.php" quality="high"
wmode="transparent"');
to:
document.write('<param name="movie"
value="musicplayer.swf?playlist=viewalbum.php?list=<?php echo
$title_id['playlist_id']; ?>" />');
document.write('<embed
src="musicplayer.swf?playlist=viewalbum.php?list=<?php echo
$title_id['playlist_id']; ?>" quality="high"
wmode="transparent"');
Now i have playlist that are stored in the db and can be
edited and new ones made. Perfect

Similar Messages

  • Newest version of flash player not playing in newest version of google chrome but works fine in IE

    newest version of flash player not playing in newest version of google chrome but works fine in IE

    jennifer.jones214 wrote:
    In your  opinion, should I uninstall Firefox if I am installing Waterfox?
    Waterfox can coexist peacefully with Waterfox.  I have both installed, but never use Firefox any more.
    Not only can Waterfox run in 64-bit address space, it also is better optimized during compile time than Firefox.  (For obvious reasons; Firefox is compatible with many old systems, Waterfox only needs to be compatible with new 64-bit systems.)
    P.S. regarding Chris' advice above; Firefox and Waterfox use the same profile, so if that is actually the problem, then it will occur in both browsers.

  • Why does Safari (or any other browser with up to date Flash player) not play Facebook videos?

    Why does Safari (or any other browser with up to date Flash player) not play Facebook videos?

    You're welcome. Glad I could help.
    If you haven't done so, using Disk Utility in your Applications/Utilities folder.
    Thanks for the and Aloha from Big Island.

  • Help with Flash Player- Not Playing

    I recently went to a website where it said that i needed to
    download the latest version of Flash Player. I followed the
    directions and installed it, and the movie came up after
    installation, but on the website it still said i needed to install
    flash player again. I went through the other forum posts and tried
    everything, but it still wouldn't show up. Then today i was on the
    website and finally the video came up, but then when i refreshed
    the page the video was gone and it again said i needed to install
    the latest version of Flash Player. The video has shown up twice in
    the past day, then says i need to reinstall again. I've tried
    everything, but the videos just wont show up. Does anyone know how
    to fix this for good?

    JDB... your problems and solutions are different (and much
    more complex). Read this CAREFULLY.
    Printable, lovingly formatted versions of these steps, valid
    as of 9/15/2007 are available. I recommend printing them and
    following along with the print version:
    .doc:
    http://www.supportflash.com/bent/flash_player_ocx_troubleshooting.doc
    .pdf:
    http://www.supportflash.com/bent/flash_player_ocx_troubleshooting.pdf
    The issue is this: You have multiple accounts on your XP
    machine. One account plays Flash no problem, the other doesn't,
    although both are Administrator accounts. Or possibly you have only
    one account, and that account fails to play any Flash content. In
    any case if you have ANY odd trouble with the Flash Player ActiveX
    control for Windows as of September 2007, these should be your
    steps. And yes, you need to do both sets of steps, in order!
    The cause: This is usually caused by either or BOTH of the
    following problems:
    1. Leftover locked bits of an old Flash Player installation
    2. Registry permission errors (aka 'ACL's)
    OK so what do you do about this?
    ONE: Identify possibly leftover Flash player bits
    a. Open C:\WINDOWS\system32\Macromed\Flash folder.
    b. Download the latest FP uninstaller from
    http://www.adobe.com/go/tn_14157.
    c. Run the uninstaller. If you get a notice saying you need
    to reboot, then reboot.
    d. Look at C:\WINDOWS\system32\Macromed\Flash folder.
    e. Does any file ending in .ocx remain? (flash.ocx,
    flasha.ocs, flash9d.ocx etc...)
    e1. If no, then you don't usually have any leftover locked
    bits.
    You're done with this part of the problem, proceed to TWO.
    e2. If yes, then that remaining .ocx file may be locked.
    Right click it
    and select properties and look at the version tab.
    What is the version number?
    f. Is the version number Flash Player 9.0.16.0 or earlier?
    f1. Use the uninstaller instructions from this technote:
    http://www.adobe.com/go/4da116d3
    -- section "Flash Player 9.0.16.0 and earlier"
    -- DO NOT re-register the uninstaller. ONLY do this
    UninstFl.exe part.
    Yes, you'll need to know how to use the command line to do
    this. If you're not
    comfortable with that then take your machine to someone who
    is!
    g. Is the version number Flash Player 9.0.28.0 or higher?
    g1. Use the uninstaller instructions from this technote:
    http://www.adobe.com/go/4da116d3
    -- section "Flash Player 9 (9.0.28.0) and later"
    -- DO NOT re-register the uninstaller. ONLY do this
    UninstFl.exe part.
    In both the D and E sections above you'll need to use the
    specific name of the control that remains
    in the C:\WINDOWS\system32\Macromed\Flash. So if you had a
    stuck flash9b.ocx[DJM1] in the folder
    and version was 9.0.28.0, your uninstall command would look
    like this:
    UninstFl.exe -u
    c:\windows\system32\Macromed\Flash\Flash9b.ocx
    That said, if you have trouble running these commands it
    really is necessary to find someone who knows how
    to use the command line, either a friend or a local
    professional. Or spend some time learning about the
    command line yourself.
    h. RERUN the uninstaller you downloaded earlier. This should
    get rid of the remaining (now unlocked) .ocx file and fix any
    registry keys associated with it.
    ALL of section "ONE: Identify possibly leftover Flash player
    bits" is important. BUT this locked bit problem only happens on
    maybe one out of 50 machines. So most people with installation
    problems such as this are not going to have locked bits.
    AND even after reinstalling you may still have continued
    problems with Flash Player not being recognized.
    Then we have to move on to section two..
    TWO: Registry Permission Problems
    We have been working on Flash Player failures caused by
    Windows System Registry issues. We have not been able to determine
    what’s causing these permissions to change. But that change
    prevents the successful installation of Flash Player ActiveX
    control (used by IE Windows).
    Registry permission problems can be resolved using a tool
    called SubInACL, built by Microsoft to correct system registry
    issues.
    Symptoms: What to look for:
    1. If you install Flash Player on IE and are unable to see
    Flash content on any webpage
    2. After installation C:\WINDOWS\system32\Macromed\Flash
    will have flash 9c.ocx in it but it failed to register
    3. It appears that Flash Player installed correctly, but
    unable to view Flash content
    4. Flash Player works on other browsers, but NOT Internet
    Explorer
    5. If you are missing groups in HKEY_CLASSES_ROOT Advanced
    Permissions
    6. If you have run registry cleaners in the past, this may
    have corrupted your system
    Warning: The following solution involves the Windows System
    Registry. Editing or manipulating the registry incorrectly can
    result in serious system damage which may require re-installation
    of the operating system. If you are not comfortable editing the
    registry, then take your system to a professional. If you choose to
    proceed, then it is essential that you create a complete system
    backup and a Windows System Restore Point before proceeding. Adobe
    Systems cannot be held responsible for damage resulting from this
    information.
    1. Select Start > Run
    2. Type in “regedit”
    3. Right click on HKEY_CLASSES_ROOT
    4. Select Permissions
    5. Select Advanced
    For Vista
    Compare your permissions with the ones in this screenshot.
    http://www.supportflash.com/vista_key.png
    For Window XP Pro or other flavors of XP
    Compare your permissions with the ones in this document
    “Troubleshooting system registry issues that prevent Flash
    Player installation” (scroll down to the bottom of page).
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb400116
    Notice any major differences, missing groups, incorrect
    permissions?
    How can you repair the System Registry, what's the fix
    Download SubInACL from Microsoft to fix permission issues
    that prevent the Flash Player Installation.
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fb1634cb
    NOTE: The Microsoft version of the .cmd script run by
    SubInACL is not be run on any XP version other than Pro. HOWEVER,
    the Adobe .cmd script in the above technote is tested safe for ALL
    VERSIONS OF XP!!!
    If you have a Windows System Registry permission issue that
    sounds like the one described above, SubINACL may be the solution.
    Please note that if you have this issue on multiple accounts on one
    machine you’ll need to fix each machine individually.

  • Flash Player not playing videos but shows it is installed

    My Flash Player is not working. On the test page, I have clouds moving. The Adobe check says I have successfully installed the program. When I go to most videos/news feeds, it says I need Flash Player to play this video.

    Internet Explorer 11 no doubt?

  • Flash player not playing https urls (Videos)

    We want to use flash player on web which we actually did it, but the problem is that it is not able to play the videos with https urls. It is doing good with http urls but not with https. Can you please guide me to make it work.
    Thanks in advance,
    Raju.

    Kindly check it. This is rtmp (FMS) connection or process download connection.
    Script
    Ex:
    nc.connection(null)     - then this is run in http url (video/vid1.flv enough)
    nc.connection("rtmp://sample/") - then this is not run in http url.

  • Flash Player Not Playing YouTube Videos bigger than 360p on IE10

    Hi Guys
    I've been playing YouTube videos on Internet Explorer 10 without a problem but today I suddenly cannot play any video higher than 360p. All I get is a black oblong box with no loading wheel or player controls. When I right click it says "movie not loaded". My Flash Player is version 11,9,900,117. I can still play 720p on Firefox or Chrome, although they do not seem as smooth as they used to (but that may just be my imagination).
    Any ideas why and what I can do? All the research suggests it could be Flash Player but I appreciate this problem may not be directly Flash Player (I'm trying all the various forums to try and identify where the problem is).
    Regards,
    Graham

    Did you search for Microsoft IE help at http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US ???

  • Flash player not playing internet video content

    HP Pavillion 60-1120 Touchsmart
    My flash player is not playing internet video??  Any ideas.
    This question was solved.
    View Solution.

    Hi,
    Try the following.
    First, download the Flash uninstall utility on the link below and save it to your Desktop.
    http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe
    When the download has completed, close all browser windows and run the uninstaller.  After this has completed, restart the notebook.
    Next, download and install Firefox and then using Firefox, download and install the latest version of Adobe Flash.
    Close all browser windows before running the Flash installer.
    Launch Firefox and see if the videos play Ok - if they do, close Firefox, open IE and click on the same Adobe Flash link above to get a prompt to install the ActiveX component.  When done, restart IE.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Flash player not playing .swfs - launching Flash Pro

    Hey folks.
    I'm running Windows 7. Previously, when double-clicked to open and view .swf files, they would open and play flawlessly. Now, It launches Flash Pro to play the .swf's - just like as if I were using a Mac.
    This has only been happening since I installed CS5. Any idea what to do? I tried doing a right-click - open with - to set a default program but I don't see Flash Player as it is installed on my computer. I don't have a .swf icon - its a white icon with the Flash mneumonic inside it.
    I have run updates and re-installed Flash Player - I don't know what else to try.

    Found it! Just had to do more digging...
    I've provided the path to the player.
    C:\Program Files (x86)\Adobe\Adobe Flash CS5\Players

  • Flash Player not playing videos (Mac OSX / Chrome)

    Last week Flash would display a pop-up telling me that I needed to update and would I like to use
    Flash Player this time. I would choose (Run Flash Player this time).
    Then updated flash to find that it now does not work at all. No videos or flash sites work.
    • I have gone through the optioins in my browser as well as the Flash Player options from the application.
    • I have looked through forum posts and self help via the Adobe site.
    • I have contacted Adobe in an online chat, waited 20 minutes only to be
    told that because I am not a paying customer they didn't care enough to help. (not a direct quote)
    • I have uninstalled and reinstalled.
    Clicked on ever option and restarted my computer.
    So far I have found nothing that will help.
    ~Adobe forums, your my only hope. *holigram cuts out*

    I am having trouble seeing any of the videos on Adobe. I tried viewing in Safari, Chrome and Firefox. I'm using Mac OS X 10.6.8. I followed the Adobe Flash Player Help and it didn't help. I am also using the latest version of Flash Player (11.4.402.265). Any suggestions? I would really love to watch some of the Adobe TV videos.

  • Flash player not playing not playing properly low bitrate sound

    Hi,
    I have created a flash audio player which can play streaming
    audio (mp3) files and it takes data from external xml file.
    Everthing is working fine. But when i used a low bitrate mp3 file
    (size 600 kb, time 3min approx) , it plays the audio with max speed
    and get ended in 30 seconds. The same audio file is playing
    normally in windows media player, or winamp,etc.
    Plese give me some idea what is happening ........
    Thanks,
    Gunjan

    Flash can use either 8- or 16-bit sounds at sample rates of
    11, 22, or 44 kHz (check this), or it may be that the mp3 is
    encoded at one of the 'inbetween' bitrates.

  • Flash player not playing Adobe TV content anymore

    I was ungraded to version 11.6.602.168 of flash on my 64-bit Windows 7 system and can not longer view content from Adobe TV website in Firefox, Chrome, or Iexplorer. Note that video from youtube still works. What now Adobe, especially since I just upgraded to Photoshop CS6 and didn't even get a manual to learn the new program and I now can't even watch the learning videos!

    Hi,
    Try the following.
    First, download the Flash uninstall utility on the link below and save it to your Desktop.
    http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe
    When the download has completed, close all browser windows and run the uninstaller.  After this has completed, restart the notebook.
    Next, download and install Firefox and then using Firefox, download and install the latest version of Adobe Flash.
    Close all browser windows before running the Flash installer.
    Launch Firefox and see if the videos play Ok - if they do, close Firefox, open IE and click on the same Adobe Flash link above to get a prompt to install the ActiveX component.  When done, restart IE.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Flash player not playing with embeded video on blog

    the youtube video is not able to play in my blog Interventional Radiology Medical Coding when the html code in inserted in blog post please help

    Read Before Posting: How To Get A Useful Answer To Your Question

  • Help Please? Flash Player not working, windows 7 32 bit IE.

    Hi. I cannot get the Flash player to play content in Internet Explorer 32 bit. I am extremely frustrated.  My info is:
    Windows 7/64 bit
    All windows updates are current
    Dell studio 1749 Lap top
    IE 8 32 bit
    IE 8 64 bit
    32 bit Flash Player 10.1.85.3
    64 bit flash player "square"  10.2.161.22
    windows firewall
    High speed cable with wireless router
    Avast antivirus free  5.0.677
    I have spent several days reading this forum as well as other forums on the same subject and have tried many many suggestions that have been posted without results. I have checked my user account settings, mine is set to administrator. I have checked and rechecked Internet explorer internet option settings and tried them all including none ( set to not recommended  lowest  settings) for all the zones. I have reset internet explorer settings under the advanced tab. I have tried to install the flash player many times using both the auto install from the browser window as well as the manual download and install program from your web site many times. I have uninstalled from windows control panel and also using your manual uninstall program between each reinstall attempt.
    I have restarted both my computer and internet explorer after each install and uninstall so many times I can't count. There are many other things I have tried as per some of the things I have read but so far no success. The interesting thing i find is while trying to fix this problem i downloaded the flash player code named "square" 64 bit and it works perfectly using Internet explorer 64 bit.
    Internet explorere Adobe add ons are:
    In IE 32 bit add ons listed are;
    shockwave activeX control  - enabled
    get_atlcom Class  - enabled
    In IE 64 bit add ons listed are;
    shockwave flash object   -  enabled
    Files installed on my harddrive are;
    in windows/sysWOW64/macromed/flash
    Flash10k.ocx
    Flashinstall.log
    Flashutil10k_activeX.dll
    Flashutil10k_activeX.exe
    in windows/system32/macromed/flash
    Flash64_10_2_161.ocx
    Flashinstall.log
    Flashutil64_10_2_161_activeX.dll
    Flashutil64_10_2_161_activeX.exe
    I hope you are able to assist me in fixing this problem.
    Thanks

    Good Morning.
    I can not get the batch file to create a log file. Anyway the general message throughout the entire batch file report is that nothing succeded.  Each time it tried to create a reg key the resulting message is :
    Regsetsecurity error : 5 access is denied
    When trying to reset FP security permissions:
    Set security privilage : access is denied
    Warning  :unable to SeSecurityPrivilage privilage. This privilage may be required.
    Then when it tries to create file "macromed" error is
    Createfile error : 1314  A required privilage is not held by the client
    Anyway this gives you a general idea of what has happened running the batch file,
    I am starting to think we are spending far to much time on this ,but I enjoy the  challange to correct the problem.
    If this is due to a corruption or some such thing in the registry I could have reformatted and reinstalled My system complete in less than a day. This is the fourth day on this.
    If the User Accounts list me as the administrator and there are no other accounts how can I not have the required permissions?

  • Adobe flash player not working for youtube

    Hi,
    While I was trying to install Adobe Flash Player for Microsoft Internet Explorer, the installation process got stuck half way and I tried to terminate the installation. But I had difficulty even terminating the installation process and IE and my computer crashed together. Normally I use Firefox to surf the internet, however after the computer crashed and when I restarted my computer, Youtube videos just couldn't be played in Firefox. What I have since done was to upgrade Firefox to 3.6.18 and I have uninstalled + reinstalled Adobe Flash Player. However that still doesn't solve the problem. The Youtube webpage only shows a black box with no control boxes. However other websites e.g. Metacafe, which uses Adobe Flash Player to play video files are working perfectly fine. This is highly puzzling to me and very frustrating. Could anyone please help me with it? .
    How do I mark this thread as a question?
    Now, I was reading other threads and came across 1 suggestion to change the http:// to https:// and now the youtube videos can be played. How amazing :O. But that would mean that everytime I have to manually change the URL to access the video. This is so strange. Any suggestion what has happened? Thanks.

    Hi, Since youtube/Google have not responded to the issue, no one knows for sure what their problem is. This is what I found and posted here last night. Then what I found and posted this morning, which you evidently found about the https.
    It appears either one or both are being used to try solving the issue. It's been users coming up with these, not youtube nor Google. It effects all browsers, even Chrome. The only one I haven't seen so far is Safari. Flash Player version doesn't matter, nor Operating Systems.
    From last night:
    YouTube just updated their video player, so the old version could still be cached in your browser causing it to fail. I would suggest rebooting, and if that's already done then make sure your drivers are up to date.
    If that does not work make sure you download the new version of flash.  Posted3 hours ago
    No, I had the exact same problem but it worked the second I cleared my internet cache which could have to do with what another user above said about that.
    Go to tools, options, clear recent history, and only check the 'cache' option, clear now, okay, and then refresh or exit it and open it again. I didn't even have to restart my browser. I'm using firefox too, by the way. Good luck! I hope this helped!  Posted 2 hours ago
    From today 7/7/11:
    Now youtube is having major issues as you could read from what I posted. There is nothing wrong with your computer nor Flash Player. Here is what many users are doing in addition to clearing the cache, history etc.
    They are using https instead of http. So try it. Here is one that you can check to see if it works. If so, use the https until youtube/google respond.
    https://www.youtube.com/watch?v=N1RiMHpUi1w
    Until we hear from youtube or our own Flash Player Team, since I'm sure they are in touch with youtube, I don't know what else to do.
    My guess is, that if youtube changed their video player for the videos, then that would be a factor. Right now it is a wait and see.
    Thanks,
    eidnolb

Maybe you are looking for

  • Sort order in list wrong: in CAML and in view

    Hello, When I order my list with document sets by ID, the order is wrong. It is wrong in the list and with caml. This is my view (I just set the sort on the ID column): The first 4 objects are created by the Client Object Model; the last 4 are create

  • Only RG23 A/C Part-2 Posting for free goods

    Hi Gurus, Hi Every one, how are you, i have one requirement from client. 1. this case is for free goods, where client wanted to take   credit for material purchase ie only part-2 entry should get posted, 2. Liabilities should not get posted. As  per

  • Saving a pdf with seperate colors

    Hello guys, I'm new in here, so i hope my thread is on the right place. If not, please correct it. I need to know, if it is possible to save a .pdf file (with some printing documents on it: with CMYK colors and PANTONE colors) with seperate colors. I

  • Creation target group in CRM from SAP BW by Bex.

    Hi, I  am using RSCRMBW_TG_GENERATE_BUPA ABAP report to generate target group in CRM from Bex Query . On exection target group is created  in CRM but no record (business partner ) is transferred across .  I have assigned role "SAP_BW_CAMPAIGN_MANAGEM

  • Nokia C3-01 screen symbol

    I have a symbol appearing on ny C3-01 home screen which isn't listed in the user manual.  It looks like a pair of glasses unside down ( 0_0 with no spaces) .  Any ideas about what id refers to?