Embedding JW Flash Player Shoutcast Stream

I have some code that I'd like to embed into my Simplemachines index.template.php which will add the JW FLV Player underneath our big orange flash banner here:

http://forums.brap.fm

This is the code that I have (and yes, I've uploaded the JW script and files to the webserver):

<html>

<head>

<title>Media Player - Shoutcast/Icecast Streams</title>

<script type="text/javascript" src="swfobject.js">
</script>

</head>

<body>

<div id="player">
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a>
to see this player.
</div>

<script type="text/javascript">
var so = new SWFObject('mediaplayer.swf', 'streambaby', '600', '20', '7');
so.addVariable('type', 'mp3');
// Shoutcast stream - Brap.FM
so.addVariable('file', 'http://212.72.165.26:9418/;stream.nsv');
so.write('player');
</script>

</body>

</html>

I have a test page up here:

http://labs.brap.fm/player.html

Now, I understand that I need this bit:

<script type="text/javascript" src="swfobject.js">

and this bit:

<div id="player">
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a>
to see this player.
</div>

and also this bit:

<script type="text/javascript">
var so = new SWFObject('mediaplayer.swf', 'streambaby', '600', '20', '7');
so.addVariable('type', 'mp3');
// Shoutcast stream - Brap.FM
so.addVariable('file', 'http://212.72.165.26:9418/;stream.nsv');
so.write('player');
</script>

But I don't know how to put it all together. I'm usually pretty good at figuring these thing out but this one has me stumped.

Here's my latest attempt:

echo '
<script type="text/javascript" src="swfobject.js">

<div id="player"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a>to see this player.</div>';

echo '<script type="text/javascript">
var so = new SWFObject('mediaplayer.swf', 'streambaby', '600', '20', '7');
so.addVariable('type', 'mp3');
// Shoutcast stream - Brap.FM
so.addVariable('file', 'http://212.72.165.26:9418/;stream.nsv');
so.write('player');
</script>';

Which doesn't appear to want to work.

Can someone please advise me on where I'm going wrong? I'm almost there, just need a gentle push in the right direction. I've tried <?php and ?> but that doesn't work either. It's slightly annoying as I worked out how to embed the orange flash banner on my own!

Can anyone describe the (or a) best practice for embedding a flash player in jQuery Mobile?

I worked on jqeury mobile alpha1 releaed. my app working fine. now I changed my working version as alpha 2 then i have an issue " f.document.body is null". I didnt get why the issue came. I foolw the instuctions to upload the javascripts and css files. please give me a suggestion ....... ...

Embedding a flash player to loop a song

I want to embed a flash player in an html page to loop a song (mp3 file) so it will play in the background while a slideshow cycles. Any help would be greatly appreciated. :) ...

JW FLV Player to Stream Audio from 3rd Party

I'm trying to get a Cumulus radio station to stream on my desktop webpage while I'm at work using the JW FLV player. I had been using WMP up to now and this type of URL:http://player.cumulusstreaming.com/Stations/WXKR-FM/PubPoint.asx?PubPtASXStrngbut the FLV player won't accept this URL.So my first ...

Ubuntu Essential packages to play a JW FLV Player Flash stream?

Hi, as we often see, JW FLV Player (homepage (http://www.longtailvideo.com/players/jw-flv-player/)) is a common and popular embeddable Flash-based player for audio and video streams, which can be found on many Web pages. However, I found that on a freshly installed Kubuntu (9.10 to be specific), I c ...

Ubuntu Problems with flash player stream.

Ok, so I have downloaded Ubuntu and tossed out Windows. Everything works beautifully except streaming flash videos on some websites. Youtube works fine, I can watch it and fast forward after the buffer has loaded and so on.But when I go to my local news websites(local being Iceland) I cant fast forw ...

embedding xml file into flash player, need help

Hi, on my site I have a flash mp3 player- it searches for an xml file (the playlist) to be able to play the music.What I need is to be able to have my music streamable, and not downloadable, and at the moment if someone had coding knowledge they could easily get at my music by looking at what playli ...

jQuery Ajax & JW Video Player. Fine in Firefox PC and Mac. IE6 Not working

- I have a development page here:http://www.aoec.com/beta2008%5Fv1/open/index_ajax.aspWhen you click on the play video box on the left it shows a DIV andthen replaces some black content in that div with the following code:<div id="player">Javasctipt required.</div><script ty ...

jQuery Uploader Flash player 10 fix

Guys;A lot (8) people have allready asked me if i was going to fix the messAdobe made and my answer is yes, i am working on it. This post is toassure you that the jQuery Flash based uploader i wrote in 2006 hasbeen revived.The project will no longer be based on swfupload, since i added way tomuch co ...

jQuery Uploader Flash player 10 fix

Guys;A lot (8) people have allready asked me if i was going to fix the messAdobe made and my answer is yes, i am working on it. This post is toassure you that the jQuery Flash based uploader i wrote in 2006 hasbeen revived.The project will no longer be based on swfupload, since i added way tomuch co ...

jquery pause all flash player elements, allow only one to play.

I'm using the jquery.media plugin. On the page i have it has 20 or soflash elements to play each different mp3 files. Is there any way tosetup a jquery call so when you click play on the flash element itpauses any other flash player running? ...

jQuery to play shoutcast stream

I want to know how can i make jQuery to play my shoutcast stream?Any ideas? I have flash now as player but looks like flash may not be the option here soon. ...

jQuery Embedding a flash object using .html() crashes browser

I'm trying to use Jquery to embed a video in the page, like this one from CNBC for example:<object id="cnbcplayer" height="380" width="400" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" ><p ...

jQuery load Shoutcast Stream with jMediaelement (jme) audio video pluugin

im trying to load url for  Shoutcast Stream   http://srv2.streaming-ingenierie.fr:8142/;stream.nsvwith jMediaelement plugin http://protofunc.com/jme/ , need help plz. ...

jQuery ScrollTo and Flash player in scrollable div

When I use absolute positioning (top & centered) on a flash player container within a scrollable div everything is fine until the user scrolls to the bottom of the div. Then when the player is instantiated at the top center it is outof the view of the user.See:http://www.rkwalton.com/jumpers.htm ...

Issue overlaying jquery-ui dialog on flash player under windows

I developed a flex admin panel and I encountered the following issue:The flex panel must open through a javascript call an overlay div ( thrugh jquery-ui dialog plugin) with ckeditor inside. The overlay must open just on the top of the flex panel(which cover the whole page) just like a pop-up would, ...

JavaScript to swap image for Flash Player; some browser difficulty

I am a JavaScript novice, and appreciate any help you can give.For design reasons, we did not like the appearance of a still video on our web page. So I write a short little script to replace a picture that we selected, with the code for a flash player, once the image was clicked.The code works exac ...

Ubuntu Cannot download Adobe Flash player at all

I cannot get any form of Flash Player to download in either Firefox or Chromium--what on earth am I doing wrong? ...

Flash player in 64-bit Linux

I just installed a 64-bit version of Linux yesterday. I went to install flash and it gave me this:ERROR: Your architecture, \'x86_64\', is not supported by theMacromedia Flash Player installer.I know what it means but what i want to know is if there is a way to make it work other then getting a 32-b ...

flash player problem

i have a question on flash player for ubuntu i am enrolled at the local tech center that teaches the cisco ccna program the issue i have is that i try to use my linux box (ubuntu with all new updates and latest flash) to do my reading and when i try to take a quiz it loads and then it says done but ...

Flash Player problems

I have mozilla fire fox installed by having it in My Home> Mozilla fire fox. I then created a launcher to the mozilla fire fox shell script, then added a fancy cool icon. After that I downloaded Flash player and went to see my favorite flash: http://yoga.at.infoseek.co.jp/flash/kikkomaso_e2.swf b ...

Ubuntu Trying to fix firefox and flash player...HELP??

this is the error i get. i think im using Kubuntu Karmic..Reading package lists... DoneBuilding dependency tree Reading state information... Doneadept is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.2 not fully installed or removed.After this operation, 0B ...

Running a ShoutCast stream in Mobile

I'm trying to create a mobile app for an internet station (http://www.remedy.fm), and right now I'm just trying to get how to get it to play. I've got it to connect to an MP3 file and it works just like I want it to. However, upon setting it to connect to the stream, it returns with "java.io.IO ...

Macromedia Flash Player for the Konqueror web browser

Can anyone tell me how to install Macromedia Flash Player for the Konqueror web browser, or if it is possible at all? ...

Cannot get Adobe Flash Player to work in Firefox - Ubuntu 10.10

This is my first post, so I'm sorry if this was placed in the wrong section or if this is a repeat thread. I did my best to make sure that there weren't other threads out there similar to this that I haven't tried previously.I am fairly new to Ubuntu, but I have acquired some basic skills from my ex ...

flash player 9

gguyz some help....ive tried installing flash player 9 but i dont see it workingam using debiansomeone pliz help me with the right procedure may be...thanx ...

Flash Player, Tabs and Javascript

I have 3 tabs with a flash video playing in each. If a user clicks on a video and then decides to move to another tab while the video is playing.... the video stops and the tab is switched. I am using the code below to achieve that.onClick=player1.sendEvent('STOP'); player2.sendEvent('STOP'); player ...

How to uninstall Flash player from Iceweasel/2.0.0.4

I am running Iceweasel 2.0.0.4 on Debian etch. I installed the Flash player after it said I needed to install it to display SWF files on YouTube. Iceweasel itself downloaded and installed the player.However Flash adverts are driving me nuts and I don't really use YouTube that much to want to suffer ...

Ubuntu Installing Adobe Flash Player in Firefox - how?

I have just installed Ubuntu 10.04, loaded Firefox and gone to a BBC news site which needs the Flash Player to display a video. So I have done a Google search to see how to do that and this has me well confused. I thought this would be easy!My assumption:- go to 'Add-ons', select the Flash Player an ...

Ubuntu installing flash player EEE PC

I would be really grateful if someone would be kind enough to talk me through step by step installing flash player onto my EEE PC netbook. It has a form of Ubuntu I think or Xandros?? from what I understand. I have tried all sorts but not really understood what I am doing. Attempts including using s ...