• https://mustangdaily.net/

    Theme: Woothemes’ Editorial

    The widget in question is the one labelled “Listen Up”. It’s a text widget with coding that embeds a .swf. It only shows up on the homepage.
    Here’s the code itself.:

    <!-- BEGINS: AUTO-GENERATED FFMP3 CODE -->
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="205" height="132" align="center">
    <param name="movie" value="https://mustangdaily.net/ffmp3-config.swf" />
    <param name="flashvars" value="url=https://129.65.35.106:8000/KCPRMP3&lang=en&codec=mp3&volume=50&traking=true&jsevents=true&buffering=5&skin=ffmp3-oldradio.xml&title=KCPR%20Radio Stream&welcome=Cal%20Poly Radio" />
    <param name="wmode" value="transparent" />
    <param name="allowscriptaccess" value="always" />
    <param name="scale" value="noscale" />
    <embed src="https://mustangdaily.net/ffmp3-config.swf" flashvars="url=https://129.65.35.106:8000/KCPRMP3&lang=en&codec=mp3&volume=50&traking=true&jsevents=true&buffering=5&skin=ffmp3-oldradio.xml&title=KCPR%20Radio Stream&welcome=Cal%20Poly Radio" width="205" scale="noscale" height="132" wmode="transparent" allowscriptaccess="always" type="application/x-shockwave-flash" />
    </object>
    <!-- ENDS: AUTO-GENERATED FFMP3 CODE -->
Viewing 1 replies (of 1 total)
  • Hi, I know this is an old question but I came across this issue myself.

    I’m using the same player but I downloaded the actual ffmp3 files to host myself and changed everything in the embed code to point to the sites URL.

    Here’s how for anyone else having trouble.

    Download FFMP3 from here https://ffmp3.sourceforge.net/ and generate the embed code while you’re there.

    Then upload the FFMP3 files to the root of your domain.

    Now you need to edit the embed code and change where it looks for the config file and the skins.

    If you look through the embed you will see it refer to the following:

    <param name=”movie” value=”/fmp3-config.swf” />

    AND

    skin=/ffmp3-mcclean.xml

    Those lines of code both appear twice.. Once near the top of the embed code and once near the bottom. This is for cross browser embedding purposes.

    You need to edit all instances of those lines of code with

    <param name=”movie” value=”https://YOURSITEURL.com/fmp3-config.swf&#8221; />

    skin=https://YOURSITEURL.com/ffmp3-mcclean.xml

    What’s happening is the player can’t find the files when you move away from the homepage because they are configured to look for what ever page URL your on followed by a /fmp3-config.swf for example.

    So while your on the homepage, the player sees https://yoururl.com/fmp3-config.swf and finds the files. When you navigate to another page the player sees https://yoururl.com/Your-Page/fmp3-config.swf which is wrong.

    By telling the player to look the domain URL rather than internal file paths, it will always find the files as long as they’re in the domain root folder.

    Only snag with this is the player will only play while on the page.
    If you move pages, the player will have to stop and start again when the new page loads. If continuous uninterrupted play is required, you can always put it in a popup.

Viewing 1 replies (of 1 total)
  • The topic ‘Widget Only Appears on Homepage’ is closed to new replies.