Hello,

i have emfield, swftools, jw player module, in the jw player module config page it always give me this:

Current Player: Version Unknown

i tried to make upgrade with both methods: install latest version or through uploading, both give me error page not found.

also the jw player module doesn't appear in my video, instead the jwplayer from swf tools appearing , so what can i do to make the jw player module player override on all of my videos ??

Comments

JW Player’s picture

@demonrage,

I'm unsure why swftools would be overriding the JW Player Module. How are you inserting the player into your nodes?

I'm not too worried about the unknown version as the version isn't necessary for the module to function correctly.

Thanks.

demonrage’s picture

i make a view using swftools to display my video, then inserting it in a panel (user view panel), i didn't find anything in panels or views that mention the jw player module. and i just don't know how to make it work with my videos

JW Player’s picture

The JW Player Module currently only inserts videos into the Node body. If you're inserting video into views or panels you'll need to use the theme function directly.

Sorry for the inconvenience.

demonrage’s picture

and how could i use the theme function, any guide tutorial post will be helpful for me ??

JW Player’s picture

You just need a bit of php. It would look something like the following:

<?php
$flash_vars = array(
  'file' => 'http://path/to/video.mp4',
  'image' => 'http://path/to/image.jpg'
);
print theme("jwplayermodule_render_player", "your_config_name", $flash_vars);
?>

If you have any questions just let me know.

demonrage’s picture

thanks for the code, it really works if i have uploaded a video to the drupal site, but i need code that can play streaming videos like (Youtube, Vimeo and so...) cause i'm having EMfield to import videos to my website, is that possible ??!

demonrage’s picture

anyone can help me with that pls ??

JW Player’s picture

@demonrage,

I'm not completely sure what you mean. I'm not aware of EMfield or what it does.

The JW Player supports YouTube videos, however it will not playback Vimeo. You can easily use YouTube with the code I posted previously. So something like this:

<?php
$flash_vars = array(
  'file' => 'http://www.youtube.com/watch?v=XSGBVzeBUbk'
);
print theme("jwplayermodule_render_player", "your_config_name", $flash_vars);
?>

If you have any other questions just let me know.

Thanks.

wikube’s picture

Version: 6.x-1.4 » 6.x-1.5
Category: bug » feature

Hi,
I do not undersand if you can see here that it shoud works.. http://wessite.com/labs/vimeoprovider

let me know if someone find the way to do it. I've tried via php using moogaloop, image appears but video doesn't play. It answer "video not found or access denied". I checked and the signature is good.
any idea???

Thanks..

Aurelien

mattcasey’s picture

Hm, I haven't tried it yet but make sure you have Vimeo Plus ($200/yr) to use a 3rd party player.