Jan. 20, 2008agron
hello,
I use this player's free edition and I am very satisfied with it, it's really great job.
But I have one problem when visitors try to watch my .flv videos through this player on computers where is not installed flash palyer plugin. When they open try to watch the video they cannot start it and it looks really bad, the player looks very mixed. My request for this problem is, if possible, to make it when there is not installed flash palyer on the computer instead to appear the mixed player, to appear a text over the player saying "you do not have flash player insatelled on you computer" ... I am not sure if this is possible to do.
If it is possible, please tell me how to do that, or you try to make it look like that (I am not sure if I was clear).
Please, if possible make it look like that
Thank you in advance
Jan. 20, 2008jKerr
@agron,
the default html code that comes with the player already takes care of this for you. As long as you properly cut and paste from the examples, you'll have a line like this:
<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
When the correct version of the flash plugin is installed, the player will appear, but if it doesn't, your visitors will automatically be provided a link to macromedia.com. Macromedia will take care of the rest.
Note that you can specify the version of flash you require when you first build your player- like this:
var s1 = new SWFObject("mediaplayer.swf","single","260","160","7");
where "7" means that you request your visitors to have the flash plugin version 7 or later, otherwise they will be provided with the link to macromedia.
sounds like you just didn't copy all of the required html when you built your page with the player.
do you have a link we can look at?
cheers,
-jeremy
Jan. 21, 2008agron
I have to give you the link where you can see the player:
Try this: http://www.argetimi.net/modules/news/article.php?storyid=490
or this: http://www.argetimi.net/modules/news/article.php?storyid=484
I use this player with xoops, but I am not sure if I use it on the right way.
I did this while installing it: I download the player from jeroenwijering webpage and I uploaded that folder on my server /jw_media_player/... then I from the Wizard help from you page I took this code (the one below) and I copy and paste it every time I post a new news/clip on my web (it dynamic webpage with daily news and clips)
I post clips/news man manually, first I upload the .flv on the server using FTP than I copy this code and paste it on the page while the changing the clip name (clip_name.flv I change to the real one) and it works like this.
I dont know how to use it other way, if I make something wrong please tell me .
Thank you in advance
This is the code I use:
<embed src="http://www.argetimi.net/jw_media_player/mediaplayer.swf" width="425" height="350" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://www.argetimi.net/klipe/clip_name.flv&height=350&width=425&autostart=true&bufferlength=5&logo=http://www.argetimi.net/img/logo.png" /></center>
Jan. 21, 2008agron
I have to give you the link where you can see the player:
Try this: http://www.argetimi.net/modules/news/article.php?storyid=490
or this: http://www.argetimi.net/modules/news/article.php?storyid=484
I use this player with xoops, but I am not sure if I use it on the right way.
I did this while installing it: I download the player from jeroenwijering webpage and I uploaded that folder on my server /jw_media_player/... then I from the Wizard help from you page I took this code (the one below) and I copy and paste it every time I post a new news/clip on my web (it dynamic webpage with daily news and clips)
I post clips/news man manually, first I upload the .flv on the server using FTP than I copy this code and paste it on the page while the changing the clip name (clip_name.flv I change to the real one) and it works like this.
I dont know how to use it other way, if I make something wrong please tell me .
Thank you in advance
This is the code I use:
<embed src="http://www.argetimi.net/jw_media_player/mediaplayer.swf" width="425" height="350" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://www.argetimi.net/klipe/clip_name.flv&height=350&width=425&autostart=true&bufferlength=5&logo=http://www.argetimi.net/img/logo.png" />
I do not use the other code (SFWobject) becuase the player does not appear on my web, I do not know what is wrong:
This is it, if I do something wrong please tell me how to make it.
<script type="text/javascript" src="http://www.jeroenwijering.com/embed/swfobject.js"></script>
<div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject('http://www.jeroenwijering.com/embed/mediaplayer.swf','mpl','470','255','8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('width','470');
so.addVariable('height','255');
so.addVariable('file','/upload/afraid.flv');
so.write('player');
</script>
Thank you
Jan. 21, 2008andersen
its best to upload and use swfobject.js and mediaplayer.swf on your own site,
click "Players" top of this page, select player, and look for: [url=http://www.jeroenwijering.com/upload/mediaplayer-3-14.zip]download the JW FLV Media Player here.[/url] download and unpack...
here follows code with a link to download the flash plugin if not installed:
<script type="text/javascript" src="http://www.argetimi.net/jw_media_player/swfobject.js"></script>
<div id="player"><a href="http://www.macromedia.com/go/getflashplayer">Get the flash plugin</a></div>
<script type="text/javascript">
var so = new SWFObject('http://www.argetimi.net/jw_media_player/mediaplayer.swf','mpl','470','255','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('width','470');
so.addVariable('height','255');
so.addVariable('file','http://www.argetimi.net/klipe/clip_name.flv');
so.write('player');
</script>
Jan. 21, 2008agron
I downloaded it from the link you provided me, unpacked it and I got the folder /mediaplayer-3-14 with files on it.
What should I do with it now. Should I upload on my hosting server at the folder /jw_media_player (only the files from the folder /mediaplayer-3-14 or I should upload together with the folder)
Becuase when I put the code you wrote I always get "Get the flash plugin" even when I have it installed on my comp... I even installed flash plugin again but the same appearsa again.
Thank you
Jan. 21, 2008andersen
first test locally...
make an emty folder on your local computer
place only the following files from the .zip:
mediaplayer.html
swfobject.js
mediaplayer.swf
video.flv
these are the only files you need to upload...
test that this works (open mediaplayer.html in your browser)
then try edit the .html file to play your own .flv video file from your local computer.
then change the looks of the player to your liking, and test -
then try upload those four files, and test...
Jan. 21, 2008agron
I tested it locally and it works ok
but when I test it on the server it does not work. I use Xoops, maybe javascript is disabled by default because I post the code at the News module when I post the text.
You can check it here:
http://www.argetimi.net/modules/news/article.php?storyid=495
I put this code:
<script type="text/javascript" src="http://www.argetimi.net/media_player/swfobject.js"></script>
<div id="player"><a href="http://www.macromedia.com/go/getflashplayer">Get the flash plugin</a></div>
<script type="text/javascript">
var so = new SWFObject('http://www.argetimi.net/media_player/mediaplayer.swf','mpl','470','255','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('width','470');
so.addVariable('height','255');
so.addVariable('file','http://www.argetimi.net/klipe/ushtrimore.flv');
so.write('player');
</script>
Thank you
Jan. 21, 2008andersen
the code is inserted as text, so it cant work - this is how the code looks in the page, it has been changed and now contains linebreaks <br /> - my only idea is to change the code so it is one long line, then maybe Xoops wont insert linebreaks
another way could maybe be to use an iframe with the mediaplayer.html if Xoops will allow that?
else you will have to contact the Xoops people for information on how to use Xoops...
<script type="text/javascript" src="http://www.argetimi.net/media_player/swfobject.js"></script><br /><br /><div id="player"><a href="http://www.macromedia.com/go/getflashplayer">Get the flash plugin</a></div><br /><br /><script type="text/javascript"><br />var so = new SWFObject('http://www.argetimi.net/media_player/mediaplayer.swf','mpl','470','255','9');<br />so.addParam('allowscriptaccess','always');<br />so.addParam('allowfullscreen','true');<br />so.addVariable('width','470');<br />so.addVariable('height','255');<br />so.addVariable('file','http://www.argetimi.net/klipe/ushtrimore.flv');<br />so.write('player');<br /></script>
Jan. 21, 2008agron
OK. Thank you Andersen for your help, but I have to contact Xoops Support
Jan. 22, 2008won´t read xml
hi there,
Before even going further as to download and host the player on my server, I just wanted the wizard to simply read a logo, and it simply does not do it, despite the fact that Http://www.balearica.tv/logo.png appears in my browser, as well as the xml: Http://www.balearica.tv/hot-shows.xml, which is an EXACT copy of the default xml playlist hosted on jeroen´s server...
Anybody has any idea about why it won´t read it, I have tried all sorts of set up, hosting all the stuff on my server, deifferent playlist formats, etc etc, nada ,zilch, it won´t read ANYTHING!
Any help greatly apreciate!
bastien
bastienfrancois.com
PS, by the way, ho can I post start a new tread instead of puttting my stuff at the end of other threads??
cheers
Jan. 22, 2008andersen
mediaplayer.swf and playlist.xml must be on the same server - flash security!
to start new threads click "Forum" top right of this page - then select one of the "All forum categories"
or click the "category" link above the posting textarea...
Oct. 31, 2009marish
muradyan
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.