displaying player in popup

ineedhelp

Well-known member
Hi I'm stuck on some basic html code.

I want to display this flash player in a popup window (i know how to do the pop up etc) and the player works fine when I enter the embed code for the player into ad_header template.

But I need the player open in popup window - when I enter the embed code:

Code:
<center><font size="2" face="verdana" color="white">Radio BL Testing Mode</font></center>
<script type="text/javascript" src="http://player.wavestreamer.com/cgi-bin/swf.js?id=6QY5DZQB7VUEHMHE"></script>
<script type="text/javascript" src=" http://player.wavestreaming.com/?id=6QY5DZQB7VUEHMHE"></script>
into a blank notepad file and save it as .html then upload it, it doesn't show the player, just displays the code.

I've tried inserting <header> etc as well.

Here is how it shows: http://barfilounge.com/radio.html

How can I do this - thanks.
 
Code:
<html>
<head>
<title>Radio Player</title>
</head>
<body>
<center><font size="2" face="verdana" color="white">Radio BL Testing Mode</font></center>
<script type="text/javascript" src="http://player.wavestreamer.com/cgi-bin/swf.js?id=6QY5DZQB7VUEHMHE"></script>
<script type="text/javascript" src=" http://player.wavestreaming.com/?id=6QY5DZQB7VUEHMHE"></script>
</body>
</html>
 
You got several problems going on here...

First of all, the encoding of this file you have pointed to is encoded incorrectly. It is encoded as text/code.

Paste this into a notepad and save it as an html:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
 
<title>Radio</title>
 
 
<html>
<head></head>
<body>
<script type="text/javascript" src="http://player.wavestreamer.com/cgi-bin/swf.js?id=6QY5DZQB7VUEHMHE"></script>
<script type="text/javascript" src=" http://player.wavestreaming.com/?id=6QY5DZQB7VUEHMHE"></script>
</body>
</

Whatever text editor you are using is doing some funky encoding on the file. Save it as text and choose "all files" if you use Notepad to keep from adding the .txt extension.
 
Both the above codes are still displaying the code and not the sentient/player. Can someone try uploading the code and see if it works for them pls? (the player won't probably display for you as it's been created to display on my site)
 
It's the way you are editing/saving them. What program are you using to save the file to an html?

A person does not need to upload the files to test if this works. They can simply dump it into a text file and drop it inot their browser to test it. I did - it's fine, except that I get a message telling me that the files cannot be run from anywhere but your site.

This Wavestreaming Flash Player may only be used on 'barfilounge.com'
 
It's the way you are editing/saving them. What program are you using to save the file to an html?

A person does not need to upload the files to test if this works. They can simply dump it into a text file and drop it inot their browser to test it. I did - it's fine, except that I get a message telling me that the files cannot be run from anywhere but your site.
TextEdit - Mac's default text edit programe, similar to NotePad on Windows. I select Web Page (.html) when saving.

Can you try uploading it using your notepad ?
 
This is the most basic you can get....
HTML:
<html>
    <head>

    </head>
 
    <body>
    
        <script type="text/javascript" src="http://player.wavestreamer.com/cgi-bin/swf.js?id=6QY5DZQB7VUEHMHE"></script>
        <script type="text/javascript" src=" http://player.wavestreaming.com/?id=6QY5DZQB7VUEHMHE"></script>
    
    </body>
    
</html>



extract and upload this to your server and test it...I can't because as you said it is locked to your domain name....
 

Attachments

Back
Top Bottom