Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Display JW Player In Drupal 6

36 replies [Last post]
Reply

I have installed D6, with the JW drupal module. By what method can I display the player in a block? The only thing I have found says to 'tag' a page.

My knowledge of Drupal is not as deep as I would like, but I have NO clue about tagging pages, or how that would allow me to control were it goes on a page etc.....

Reply

Hi Mark,

We currently don't support embedding the Player in a Block. It is only possible to embed the player in the body of Node.

I will make a note this as a possible feature for the next version of the module.

Thanks.

Reply

It would be nice if the tag wasn't restricted to a particular field, such as the body and instead transformed the tag into the player no matter where the tag was placed.

Reply

is there no way of controlling its positioning when invoking the player via tags?

The jw drupal module seems limited......unless there is something I am simply not seeing....

Reply

Hi Mark,

How would you like to position the player?

You should be able to use the Filtered HTML or Full HTML input formats to position the player within your post.

Thanks.

Reply

But on my page i get only "[jwplayer....." as a text (in node) and it doesn't show the player. Can you say, why is that?

Reply

Hi Michal,

Can you provide the full jwplayer tag you are using? It may not be correctly formatted.

Thanks.

Reply

I have used:

[jwplayer|config=standard|file=film]

I have "standard" theme in configuration and I'm not sure what to put as file - URL isn't ok so I tried to use "Upload" module and put filename or decription of the file uploaded with node.
Still browser shows:
[jwplayer|config=standard|file=film]

(text, not player)

Reply

Could anyone help? It's very important for me, because the webpage has to be ready before Easter :(( it still shows only text

Reply

Hi Michal,

Just to confirm based on the tag you have posted.

1) You created a Player called standard through the JW Player Setup page accessed through the Site Configuration page.
2) film is the description of the file you wish to use.

Also, are you getting any error messages?

Thanks.

Reply

Yes and yes - my configuration in Site Conf. is "standard". But I don't have any error messages - this whole tag appears as simple text, not any errors, alerts, problems.
It seems like the drupal doesn't see any module for jwplayer. But in Site conf. there is setup page and I'm able to set all settings for player.
Why is that? :(

Reply

I found it!!!
It depends on my theme - on my own theme it doesn't work, but on default and other themes of Drupal it works perfectly.
But now: WHERE is the problem, what's missing??? ;) Any ideas, guys?

Reply

Hi Michal,

I'm glad you isolated the problem. Can you see any differences between your theme and the default theme (garland)? I believe it's possible to disable some hooks that modules may use via the theme. Which may be the case as it is not performing the substitution.

Thanks.

Reply

I have this same issue on my development site. I've installed the module, created a profile called 'BasicPlayer' and the file parameter points to a .flv inside the Drupal files directory.

All that is displayed is the tag text. Here's a sample.

[jwplayer|config=BasicPlayer|file= http://...url.../sites/default/files/docs/movies/filename.flv]

The last comment mentioned that some themes might disable hooks in the JW Player module. I'm wondering if this has been confirmed or if another solution has been identified. I tried changing my theme as suggested by Michal above, but the same issue persisted.

Reply

Hi,
i'm trying to display the JW Player in a Block on my drupal 6 website.
Using player 5.2 and was wondering if the bug that JW Player won't play in a block is fixed or not.
Thanx

Reply

Can you provide a link to where you are running this?

Reply
Reply

There is no reference to the JW Player here.

Reply

ok, now i've added the same code on the page and the player is working.
So, i'm wondering how to make the player work in the block where the coding is showing now.

Reply

You would just need to put it inside of where <div class="art-article"><p>test page voor flash vid player in block</p> is. That should work.

Reply

Hi Guido,

The tag provided by the JW Player Module for Drupal only works in a Node body. This is something we will be investigating in the future.

In the meantime if you want to use the player in a block you'll have to write actual embed code. Please refer to http://www.longtailvideo.com/support/jw-player/13/embedding-flash for instructions on how to embed flash.

Thanks.

Reply

Hi Ethan, Cameron
With your help and embedding instructions i got it all working.
Thanks for your time and assistance.

case closed for now ;)

Guido

Reply

Awesome, glad you got it working! :)

Reply

does this drupal module support live streaming? if so how do you define in the tag?

I am trying to use the livestream plugin in the jwplayer module.

I have supplied the correct rtmp://x.x.x.x/live

and embed on node is [jwplayer|config=MYPLAYER|stream=rtmp://x.x.x.x/live|image=http://www.XYZ.com/mypicture.jpg]

is incorrect embed code, i have trien not specifying a file in the embed code hoping that the livestream plugin would pass the info to the player. nothing.

any ideas?

ben

Reply

Hi Ben,

In actuality you don't really need to use the livestream plugin to actually view a livestream. If you provide the streamer and file flashvars in the embed tag the player should display it without issue.

What error are you seeing?

Thanks.

Reply

Hey,

I thought this was the appropriate place to post my problem:

I can't seem to get my video to show up either. I'm using Drupal 6.20 with the latest JWPlayer module installed.

I have transferred the "player.swf" and "yt.swf" files to the Jwplayermodule folder and used the following code to embed the video on my page: <b>[jwplayer|config=Video|file= http://studio21productions.com/modules/jwplayermodule/video.flv]</b> (where "Video" is the name of one of my players)

I've been at this for the past three days and can't seem to get it working. I'm using a modified version of the Sandium theme, but even when I switched to the default theme, the video does not appear.

Am I missing something obvious? I'm about to go crazy here!

Thanks in advance!

Reply

I also wanted to add that I ran the "player.swf" and video file (along with the skin) through the wizard and it pumps out a perfect-working player.

Reply

Hi Landon,

Sorry for the delay. Could you provide a link to where the player is failing to show up? It would be helpful to see your implementation.

Thanks.

Reply

Hi Guys, sorry to ask you again, i'm trying to implement the JWPlayer (downloaded the free player today) and to play a flv movie.
Here is a link to the drupal 6 node http://www.southpoint.nl/web/home

I have installed the latest jwplayer (free player)
I have downloaded and installed the latest jquery.ui in sites/all/libraries
I have installed the drupal jwplayer and jquery ui modules
I have created a customplayer sp
The flv file is on the webserver in sites/default/files

On the node is used: [jwplayer | config=sp | file=http://www.southpoint.nl/web/sites/default/files/film.flv | controlbar=none | fullscreen=true]
The problem is that the video isn't showing.

Could you please check my implementation?

Best regards, Guido

Reply

Hi Guido,

It appears that the player.swf was not uploaded correctly. The response size for the file is only 829 bytes. Could you try uploading it again? Perhaps using an FTP client and uploading it directly?

Thanks.

Reply

Hi Cameron,
Thanx. I have uploaded the player.swf again. This time using the Cyberduck ftp client. As far as i can see the filesize on the webserver (in folder modules/jwplayermodule) is now 104KB.
The file is not playing.
Any other possible things to try to get it working?
Best regards, Guido

Reply

Hi Guido,

Sorry for the delay. Did you resolve your issue? If not could you provide a link to a test node again?

Thanks.

Reply

I install jwplayer module , it work on admin side but doesnot display on front side
please check the lick
http://72.29.76.194/~siteguru/video

Reply

@agile,

Sorry for the delay. Could you restore the link so I could investigate your issue.

Thanks.

Reply

For JW player successful installation . you need to put jwplayermodule in your sites/all/modules folder.

Then go to admin/settings/jwplayermodule of your drupal installation and click link admin/settings/jwplayermodule/upgrade "UPGRADE LINK"

you must have a zip.dll extension installed in your php distribution. i am using Xampp so it is default installed and configured there.

As soon as it is upgraded it will show you a jwplayer and default video right there on the page with success message.

Then go to content type , use any content type , in my case i used admin/content/node-type/page "page content type" added a filefield field.

The create a new page and upload your flv file through filefield . then right click on that file and get the link of your video flv.

and in node body field just put this tag :--

[jwplayer | config=sample | file=http://localhost/transcript1/sites/default/files/my.flv ]

here my.flv is my flv file name. so mind to change it .

and it will successfully display video.

Reply

I can't get it to work in drupal 7.
It only shows plaintext.
I can load and play a video but i can't edit (or see) the tagging codes (since they does not show in the body of the article).
Unfortunately I cannot provide a link to where I'm running this.
Can you help me please?

Reply

@drupalchamp@gmail.com,

Thanks for providing a detailed step-by-step.

@Andrea,

The module we offer doesn't work in Drupal 7. If you're using the community provided Drupal 7 module (which we link to) you'll need to contact those developers via the Drupal site.

Thanks.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options