Page 1 of 1
Embedding JW FLV Media Player
Posted: Wed Nov 19, 2008 9:36 pm
by thepoacher
Hi,
I was hoping to be able to embed the
http://www.jeroenwijering.com/?item=JW_FLV_Player in my website at
http://www.mountain7.co.uk - should this be easy enough to do? My knowledge of adding folders etc to C-Panel is fairly limited but if someone could explain roughly how to go about it that would be really appreciated.
Many thanks in advance
Matt
Posted: Thu Nov 20, 2008 3:37 am
by Don Chambers
Is that really superior to the serendipity Easy Podcasting plugin?
Posted: Thu Nov 20, 2008 2:42 pm
by thepoacher
Hi Don - thanks for that I wasn't aware of the plug in! I've downloaded it and (I think) carried out the instructions as per the installation document and see how the thing functions which is fine as it is (although I'm assuming it only works on media files uploaded to the directory as opposed to those from third party sources eg mediafire etc?) - I was really hoping for a sidebar plug in however. Is this going to be possible?
Thanks again
Matt
Posted: Thu Nov 20, 2008 2:48 pm
by Don Chambers
Matt - in all honesty, I have never used the easy podcasting plugin.
I believe the way it works is to detect your reference to a media file path/filename (ie/mysite/mytune.mp3) written into an entry, static page, or possibly html sidebar nugget, then converts that to code that includes the player itself.
Hopefully someone will chime in with greater experience. I would test its useage more thoroughly, but I am buried in other matters right now.
Posted: Thu Nov 20, 2008 3:02 pm
by thepoacher
Don - that's pretty much exactly what it does which is fine as it goes but it's pretty indiscriminate and just looks at anything that might be a media file and turns that into a music player. It's good for what it does but does seem a little cumbersome.
Now I'm guessing it must be pretty easy to embed a piece of podcast software into the sidebar to play, for instance, a selection of favourite tracks for that week etc but as I said in my original post my knowledge isn't quite there in how to implement it... Gah!
Thanks again though
Matt
Posted: Thu Nov 20, 2008 4:07 pm
by garvinhicking
Hi!
Actually, yes, embedding a video in your sidebar is pretty easy:
1. Upload the Flash-Player you referenced to a serendipity directory, like "/flashplayer".
2. go to your s9y admin plugin management panel, add a HTML nugget sidebar plugin.
3. Disable your possible WYSIWWYG editor (either by disabling javascript in your browser, or in your personal s9y preferences by turning of WYSIWYG)
4. Configure the created HTML nugget and insert the HTML code you need to play your video, i.e:
Code: Select all
<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='/flashplayer/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('/flashplayer/player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=/flashplayer/video.flv');
s1.write('preview');
</script>
This would then display a /flashplayer/video.flv in your sidebar.
Regards,
Garvin
Re: Embedding JW FLV Media Player
Posted: Thu Apr 23, 2009 9:03 pm
by ctuga
I've made everything as garvinhicking said and it work fine, however the next day when a logged into my site flash player disappeared from my page.
How can i solve this please?
thanks to all
Re: Embedding JW FLV Media Player
Posted: Fri Apr 24, 2009 10:52 am
by garvinhicking
Hi!
Usually it can only disappear, if you changed anything? And your URL would help, of course.
Regards,
Garvin
Re: Embedding JW FLV Media Player
Posted: Mon Apr 27, 2009 7:58 pm
by ctuga
Hi garvinhicking,many thks for your help.
I'v got the problem solved, i forgot to put the tag http:// in.
However is it possible to add the player into a static page or a article,so that only friends can see video with a password access?
Many thanks
regards my url is
http://www.ctuga.com
Re: Embedding JW FLV Media Player
Posted: Tue Apr 28, 2009 9:59 am
by garvinhicking
Hi!
Sure, you can put password protection on a staticpage, or also on a blog article (if you use the plugin "Extended options for entries"). The HTML-Code mentioned in this thread can also be used in a blog article or staticpage, yes.
Regards,
Garvin
Re: Embedding JW FLV Media Player
Posted: Sun May 03, 2009 10:24 pm
by ctuga
Hi
sorry for only now my thanks but problems with my ISP
i'm going to try it out now.
thanks