Hi ariock,
Thanks for trying out the plugin!
As for your problem I can’t reproduce it locally on my windows machine. What OS are you running on? Could you provide the URL to the swf file?
It might be a path issue.
Thanks.
Thread Starter
ariock
(@ariock)
linux with apache
The full path is actually
/var/www/html/wordpress/wp-content/plugins/jw-player-plugin-for-wordpress
I looked thru the files trying to find where it looks for the path, so I could change it, but no luck. I have had to do this with other plugins, so am aware of minor issues like this. Hope you can help. 🙂
@LongTail Video : if you need any help (Dutch/English) feel free to contact me 🙂 http://wordpress.org/extend/plugins/profile/ramon-fincken
Is the swf accessible directly through the browser? If the browser can’t locate it then there is definitely an issue. An example of what I’m looking for is http://your.domain.com/wordpress/wp-content/plugins/jw-player-plugin-for-wordpress/player.swf. Can you provide the equivalent URL for your site?
This should load a player that takes up the full browser window.
Thread Starter
ariock
(@ariock)
Interal server only, but this does work.
http://www.mysite.com/wordpress/wp-content/plugins/jw-player-plugin-for-wordpress/player.swf
The address does load a player that takes up the full browser window.
The error message it gives when activating.
“The player.swf is not in the jwplayermodule folder, the player will not work.”
seems a little odd.
The “jwplayermodule” is the folder name for a drupal add-on.
I changed the directory name, but it did not help. The tried looking in the files for path configuration, unable to find.
jwplayermodule folder is the key, but where is this configured that it looks for this?
Alright, thanks for checking for me.
Yeah, the jwplayermodule directory is actually just hardcoded into the error message so that shouldn’t be the issue (I will have to fix this as it is misleading :)). The code where the path is created is located in framework/LongTailFramework.php. I will try and investigate more on my end.
Thread Starter
ariock
(@ariock)
Thanks. Appreciate the quick response and assistance.
I’m glad I’m not the only one.
I am getting the exact same error.
Hey guys,
After some research I believe I have isolated the problem. I uploaded the fix and tagged a new version. Hopefully this fixes everybody’s issue.
Thanks.
Different error now:
“The player.swf cannot be found at /kunden/homepages/xx/xxxxxxxx/htdocs/passionbeer//homepages/xx/xxxxxxxx/htdocs/passionbeer/wp-content/plugins/jw-player-plugin-for-wordpress/player.swf, the player will not work.”
It looks like the path it’s trying to read from isn’t correct. The path to my files is just:
/homepages/xx/xxxxxxxxx/htdocs/passionbeer/wp-content/plugins/jw-player-plugin-for-wordpress/player.swf
Help?
I have the same problem:
The player.swf cannot be found at /xxx/xxxx/sc26355-YDGC/doble-h.com//mounted-storagewp-content/plugins/jw-player-plugin-for-wordpress/player.swf, the player will not work.
Notice the double trailing slashes and the missing trailing slash between mounted-storage and wp-content.
You can access my player here :
http://doble-h.com/wp-content/plugins/jw-player-plugin-for-wordpress/player.swf
Hi passionbeer,
Looks like I’ll have to set up a Linux VM tomorrow to try and debug this further. Thanks for your patience.
Thread Starter
ariock
(@ariock)
linux with apache
/var/www/html/wordpress/wp-content/plugins/jw-player-plugin-for-wordpress
The path is working now and finding the player.swf
Thanks for the update. 🙂
I’m glad to hear it is working for you now ariock.
Passionbeer and Desik, can you provide any more details about your environments? Apache and PHP versions? Directory structure? I’m curious as to what’s causing your path structure to be different.
On the Linux VM I have set up the path is being generated correctly.
Thanks.