Welcome, Guest
Username Password: Remember me

Built in media player
(1 viewing) (1) Guest
When posting bug reports, please include as much detail as possible, including:
- your version of JBS,
- what view you were on,
- what task you were trying to perform,
- any error messages you encountered,
- step by step instructions to reproduce if possible.
If you have worked out a fix, upload the relevant file (renamed to .txt) and we'll update quickly!
  • Page:
  • 1
  • 2

TOPIC: Built in media player

Built in media player 28 Apr 2011 01:53 #2536

Hi,

After upgrading to JBS6.2.4 and switching to the new media player as a popup window, I am now getting the audio plying twice. It appears that it is playing through the built in JW player as well as the default media player for the computer. It has happned on a pc and any mac I have tried. Is there a setting or something that I need to change in order to stop this from accurring.

It doesn't do it with the inline player but if use that I cannot get the counters to increment if it is not played from the main sermon listing. If a sermon is played from the details page the counter is not incremeneted when using the inline player, but it is with popup player.

Regards
Andrew

Re: Built in media player 28 Apr 2011 02:09 #2539

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 305
Hi Andrew - I moved this to the correct forum category. I have encountered this same problem. I'm going to copy Nick F, our media player guy on this - perhaps this is a clue he can use to diagnose. What I did on my site was to change all the audio to All Videos plugin.

Re: Built in media player 28 Apr 2011 22:02 #2540

Andrew,

I was able to duplicate the problem, by setting the Default Player for all media to "Direct (None)" and the Display Internal Player or Direct as popup to "Popup/New Window" in the Template under Media. By choosing to do a popup and direct play it will open the popup and directly play the media file with your media player.

If you set Default Player to "Internal Player" and Display Internal Player to "Popup/New Window" it will popup and only use the jw player.

As for the inline player incrementing the counters was is suppose to, by opening a popup and closing it. It looks like the biblestudy.js isn't include in the view. Tom we need to get the biblestudy.js included on all the views to makes sure this works, including the module. The user needs to allow the popup if they are blocking them, some browsers won't block it. We are testing using Google Analytics for the player so that you can see a lot of detail with the Google style of where they played, what percentage and a lot more.

Nick

Re: Built in media player 28 Apr 2011 22:29 #2541

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 305
I added references to the biblestudy.js file in all site views and added this code to the site/lib/biblestudy.media.php to catch a direct player also set as popup. Nick, you'll need to test this.

if ($player->player == 0){$player->type = 0;}

It's not been added to the 6.2.x series yet. If it works we'll add it there too and release a 6.2.5

Re: Built in media player 29 Apr 2011 01:34 #2542

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 305
Interestingly, Nick, when I set global to direct and popup to popup, I didn't get the media playing twice, it opened up the window and played the file directly in the window - but only once. The media file was set to global settings for both player and type.

Hmmm...

Re: Built in media player 29 Apr 2011 12:13 #2543

Nick,

I have the Default PLayer for all Media set to internal and the Display Internal player or Direct as popup set to Popup/New Window and I still get the dual playing of the audio. There are two controls embedded in the popup window.

What table and field is the setting for the type of media play set in? I am wondering if the table is not being updated when I change it?

I am not quite sure what you are saying about the inline player, is it supposed to increment the counters from any of the places it loads, ie. the sermon page, the details page and the front page mod_biblestudy?

Andrew
Last Edit: 29 Apr 2011 12:22 by Andrew Gee.
  • Page:
  • 1
  • 2
Moderators: Richard Hunt
Time to create page: 0.65 seconds