Audio/Video Players play continuously, shuffle does not work

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/26/2013 10:35:26 AM
Gravatar
Total Posts 29

Audio/Video Players play continuously, shuffle does not work

  • Windows 7 / Windows 2008 R2 SP2, 64-bit​
  • IIS7
  • PostgreSQL version 9.2.3, 64-bit
  • ​.NET 4.0
  • mojoPortal 2.3.9.8

We have installed the Audio Player and Video Player features on two pages in our new web site. There are multiple files listed for each player instance, .mp3 for audio and .mp4 for video.

For both, the only setting that seems to work correctly is "Auto Start."

  • When Continuous Play is disabled, the next item in the list still starts automatically.
  • When the Repeat button is set by the user, the playing item does not repeat. The next item starts to play. This will continue until all items in the list have been played, even if started in the middle of the list. If started in the middle, it will jump to the first item after playing the last one.
  • When Shuffle is enabled and selected, the play still runs down the list in order, not shuffled, until it reaches the last item.

I tested this in IE, Chrome, Firefox, and Opera. All behaved the same.

However, in both instances, they play continuously from the file chosen through to the last file in the list.

--------------------------------

Joe, after all I've put you through, and with all the good you do, I finally broke down to buy you a beer. Couldn't help it once I saw you're a fellow Guinness lover. (Long as your pub actually serves them from a tap, not a bottle, that is!)

9/26/2013 10:53:22 AM
Gravatar
Total Posts 18439

Re: Audio/Video Players play continuously, shuffle does not work

Hi,

Thanks for the beer! Much appreciated.

Since you are a developer and this issue affects you, how about investigating this yourself and proposing a fix?

We use jPlayer in those features and I assume that functionality is part of jPlayer, it is not something that we implemented, possibly is something about the way jplayer is configured. I do see that a newer version of jPlayer is available. I could update our source code repository to use the new version and then you could check if the problem still exists and try to diagnose it further if it does?

Best,

Joe

9/26/2013 11:12:17 AM
Gravatar
Total Posts 18439

Re: Audio/Video Players play continuously, shuffle does not work

Actually had never tried the shuffle feature of jPlayer before so I just tried it on my local machine and our demo site and it seemed to work for audio but not video. When I click shuffle on the audio player the actual visible list shuffles and playback follows the list. Shuffle video doesn't seem to work though. The actual need to shuffle video seems like an edge case to me, for music videos I guess it makes sense to have that ability.

9/26/2013 11:36:07 AM
Gravatar
Total Posts 29

Re: Audio/Video Players play continuously, shuffle does not work

Ah, sheesh! I didn't notice that the shuffle button actually changed the order of the displayed list!

I figured it would work like the shuffle options of players like WinAmp. My bad on that one.

Sure. I'll be glad to try to trouble-shoot it. No problem, as time allows.

9/26/2013 11:57:17 AM
Gravatar
Total Posts 18439

Re: Audio/Video Players play continuously, shuffle does not work

I just updated both our demo site and our source code repo to jplayer 2.4.0 from 2.3.0

I'm not sure if that fixed anything because I didn't try it that thoroughly before. What I'm finding now on our demo site is that video does shuffle but I had to click shuffle quite a few times before the list changed order (I also started playback before clicking the first time but not sure if that matters). However the difference is that the video list has only 3 items while the audio list has more. I'm sure that whatever javascript they are using to random sort is pretty simple and it may work better with more items.

You must sign in to post in the forums. This thread is closed to new posts.