Page 1 of 5

JW Media Player - JW Image Rotator

Posted: Sat 9. Feb 2008, 20:54
by breitsch
Finally the two modules updates are available.
JW FLV Media Player Module !deprecated!
JW Image Rotator Module V3

download/installation guidelines/documentation/examples and a donation button
http://web.casa-loca.com/index.php?jw-media-player
http://www.phpwcms-howto.de/wiki/doku.p ... ge_rotator

Re: JW Media Player - JW Image Rotator

Posted: Sun 10. Feb 2008, 13:11
by update
Very sehr 8) Thank you!
Is there a recommended way of displaying a default image in case js is set to off?
So that I will have something like

Code: Select all

<div style="margin:auto;text-align:left;width:800px;height:150px;" id="MODfmp600">
<img src="image/upload/my_default-like.jpg" title="what-thou-wilst" alt="is-what-thou-get" width="800" height="150" />
</div>
and it will be replaced automagically by the rotator or player?
Or can it be done via the api - if yes, how?
Lotta questions ;)

Re: JW Media Player - JW Image Rotator

Posted: Sun 10. Feb 2008, 14:27
by breitsch
definitively not with the api, the api is js!

could be done in the script global for the module, not specific to one player-CP

in mod_imagerotator/inc/cnt.article.php row 283 make it look like

Code: Select all

$content['imagerotator']['script']	.= '<noscript>'.LF.'{IMAGE:dir/file.jpg}'.LF.'</noscript>';
If you need a specific picture fpr each player-CP then you could do it like:

Code: Select all

$content['imagerotator']['script']	.= '<noscript>'.LF.'{IMAGE:dir/picture_'.$content['imagerotator']['id'].'.jpg}'.LF.'</noscript>';
then you need the ID of the player-instance, you can find that in your player-CP close to the bottom, somethinmg like: 'MODfir12'
put the picture for that CP in: 'picture/dir/' and name it like: 'picture_[ID].jpg'

Could be something to put in future releases.

Re: JW Media Player - JW Image Rotator

Posted: Sun 10. Feb 2008, 15:05
by update
Thank you,
I will follow these steps... :)
Could be something to put in future releases.
a default picture to be selected in the backend - great!

Re: JW Media Player - JW Image Rotator

Posted: Sun 10. Feb 2008, 15:23
by juergen
Image Rotator looks pretty good!

So now I corrected my email adress ... mixed 2 into one wrong :D

thank you very much breitsch for this tool

Re: JW Media Player - JW Image Rotator

Posted: Sun 10. Feb 2008, 18:48
by sustia
Breitsch, other two great plugins!!
Thanks for this, I registered my self in order to download :D

Re: JW Media Player - JW Image Rotator

Posted: Sun 10. Feb 2008, 19:50
by sustia
Hi Breitsch, I'm trying the plugins.
With the Image rotator it's all ok, but when I try to insert the Media Player I receive this error:
Parse error: syntax error, unexpected '{' in /home/ortaggi/public_html/include/inc_module/mod_flashplayer/inc/cnt.form.php on line 1

Re: JW Media Player - JW Image Rotator

Posted: Sun 10. Feb 2008, 22:56
by breitsch
@sustia

almost impossible!
Try again, extract the zip again, maybe there went something wrong.
The mentioned file does not have a { in first line and it passed all my tests.
Your configuration? phpwcms version?

Re: JW Media Player - JW Image Rotator

Posted: Sun 10. Feb 2008, 23:31
by Jensensen
dont't forget, sustia is using the latest, latest of the latest snapshots [with or without fix 20080201_CPfix1.zip] named 2007-12-29.zip and released 28-Jan-2008.
so, some strange, mystic, mysterious [,almost unbearable confusing], cyber stuff may happen...

Re: JW Media Player - JW Image Rotator

Posted: Mon 11. Feb 2008, 12:21
by sustia
Hi breitsch,
I've re-downloaded the archive, e re-upload it.

The problem seems that was due to a bad formatting of the file after having upload it.
I have made copy/paste from the original file to the one on the server and seems that all works perfectly.

Re: JW Media Player - JW Image Rotator

Posted: Tue 12. Feb 2008, 15:02
by fopulu
Is it possible to integrate the JW Image Rotator in a seperat window?

E.g.: I have a site with a lot of thumbnails, I choose one to enlarge it in a new window and then the image rotator starts..... :?: :!:

Re: JW Media Player - JW Image Rotator

Posted: Thu 14. Feb 2008, 00:10
by breitsch
fopulu wrote:Is it possible to integrate the JW Image Rotator in a seperat window?
E.g.: I have a site with a lot of thumbnails, I choose one to enlarge it in a new window and then the image rotator starts..... :?: :!:
it's theoretically possible but not with the module alone. It'd be a mix of CP's 'image' and 'rotator'.
your normal images cp should write a xml file with the specifications for all the added images. the rotator can then use this file to show all these images.

When you need help I need a link to your site with a few words about how exactly you'd like to have this on your site and backend login to show you how it works.

Re: JW Media Player - JW Image Rotator

Posted: Thu 14. Feb 2008, 08:05
by fopulu
Ok, thank you breitsch!

Other question, quote from your description
Giving the entry a link will open the url in a new window on click on the title in the navigation bar.
Can I change the script, that the link will open in the parent window?
Is an internal link index.php?example_page also possible?

Re: JW Media Player - JW Image Rotator

Posted: Thu 14. Feb 2008, 08:21
by update
index.php?example_page
As far as I've tested: yes 8)

Re: JW Media Player - JW Image Rotator

Posted: Thu 14. Feb 2008, 08:28
by fopulu
Great claus!

in the same window? without changing the script? and an external link opens automatic in a new window?