Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Manage player of existing website


Hello!

I've been asked by a friend of mine to modify some things of his css file. He has an online radio.I am supposed to change the player aspect. The issue is i can't make it work locally. I get the error "Task queue failed at step 4; error #2028" . I've never worked with players before. He has a ftp based domain and when i access it, opening the player html file, it works. I want to make it work locally too, to be able to test it.
I can't find the setup made in his scripts, it's a mess there, he added a lot of test files and i'm not pretty sure how he made it work.
This is the embedding code:

bc.. <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" id="radio">
<param name="audio" value="player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="buffertime=3&file=http://live-zen.distinct.ro:8000&streamer=rtmp://live-zen.distinct.ro/shoutcast&provider=rtmp&autostart=true" />
<embed
type="application/x-shockwave-flash"
id="player1"
name="player1"
src="player.swf"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="buffertime=3&skin=rowafed.xml&plugins=metaviewer-1&metaviewer.position=top&metaviewer.size=100&file=http://live-zen.distinct.ro:8000&streamer=rtmp://live-zen.distinct.ro/shoutcast&provider=rtmp&autostart=true"
/>
</object>



I have the js file and the swf player. I don't know what to do now. His online radio works fine, even if i can't find the javascript setup in his scripts. I have to mention he built his website with wow slider, some sort of wizard for non coders. I will provide the entire html script if needed, so you can understand better.

I would really need help.

Thank you!

8 Community Answers

JW Player

User  
0 rated :

@Jane_Doe

You can make the object embedding more efficient in two different ways.

Since you are using the object method to embed the JWPlayer, several things come to mind but before anything can be said the link is needed.

*What would truly be helpful is a link to look at.*

I'd like to see what doctype is being used for/with the link.

JW Player

User  
0 rated :

I've only made a test folder on the server, so i couldn't give you a link to that. Anyhow, this is the radio. If you take a look at the code for the player, i haven't changed much to it.

http://radiozen.ro/

JW Player

User  
0 rated :

@jane_doe

I truly love it the radio sattion

I once had an internet radio station(ACC stream at 192kbps), Studio9, that played the same genre(s) as Zen radio,in fact I have about 1.5tb of music.

I have two examples on my web site that uses the object engine of html5 each using a slightly different method.

www.starbase-alpha.com/audio4.html and www.starbase-alpha.com/audio5.html

respectively using playlist.xml and config.xml using the object method to embed the JWplayer.

A look at the code will show you the differences in using the object engine

JW Player

User  
0 rated :

I saw some tutorials using the audio tag, which is new in HTML5. Can i use this tag, even if i have a different doctype? Can i safely change the doctype without it affecting the other code parts of my script?

I took a look at your samples and the first one seemed to me more intuitive. I'll try and implement mine in a similar way and let you know if it works.

Thanks!

JW Player

User  
0 rated :

@jane_do

from the given link above you are using XHTML as declared via your doctype.

As it stands, the link(XHTML), has 67 HTML and 3 parsing errors; indicated when using Total Validator thus it does not conform to standard and does not validate.

My web site is written in HTML5, the example you viewed uses the HTML5 object engine which is very powerful. The two examples that I posted above are the only two flash examples that I have on the web site otherwise the native HTML5 of the JWPlayer is used.

No, using the audio element(tag) requires the HTML5 doctype.

I would recommend that IF you change to the HTML5 doctype that you therein also correct the errors.
Here is something that may be of help to you

http://websitesetup.org/html5-cheat-sheet/

question: the link above is a Romanian domain how does New Jersey fit into the equation?

JW Player

User  
0 rated :

Well, the domain is Romanian, but i always find help quicker on foreign forums.

So, i changed the doctype, validated the code and fixed all the errors.
Looking through your example, i've seen your approach in writing the flashvars value. Would it be alright if i would code the & into & and add features accordingly?

In my case, that would be:

bc.. <param name="flashvars" value="buffertime=3
&file=http://live-zen.distinct.ro:8000&streamer=rtmp://live-zen.distinct.ro/shoutcast
&provider=rtmp
&autostart=true" />



I mean, could that be a possible cause of my problem?

JW Player

User  
0 rated :

In the second &, there was & amp with ;

Ethan Feldman

JW Player Support Agent  
0 rated :

Note, since this is shoutcast, this is not a format we officially support.

This question has received the maximum number of answers.