Player error #17

Closed
opened 2016-04-18 07:33:42 +00:00 by Llewellyn · 31 comments
Owner

Player seems to only play audio until 415 and then restarts.

Player seems to only play audio until 415 and then restarts.
Author
Owner

It seems to be the player that is being used called soundmanager @scottschiller said it is compatible with Apple iPad 3.2, iPhone/iOS 4 and newer.

I will look into the implementation in the view and in the layout to insure the error is not due to wrong implementation.

Here is their documentation of the player we have used.

Any help will be great!

It seems to be the player that is being used called [soundmanager](https://github.com/SermonDistributor/Joomla-3-Component/tree/master/media/soundmanager) @scottschiller said it is compatible with Apple iPad 3.2, iPhone/iOS 4 and newer. I will look into the implementation in the [view](https://github.com/SermonDistributor/Joomla-3-Component/blob/master/site/views/sermon/tmpl/default.php#L58) and in the [layout](https://github.com/SermonDistributor/Joomla-3-Component/blob/master/site/layouts/audioplayer.php#L33) to insure the error is not due to wrong implementation. Here is their [documentation](http://www.schillmania.com/projects/soundmanager2/demo/360-player/) of the player we have used. Any help will be great!
Author
Owner

An issue has been opened with soundManager we will first see if this can be resolved before looking at other players.

An issue has been opened with [soundManager](https://github.com/scottschiller/SoundManager2/issues/130) we will first see if this can be resolved before looking at other players.
roybinhood commented 2016-04-19 18:18:03 +00:00 (Migrated from github.com)
Author
Owner

Is there any news on this issue ?

Is there any news on this issue ?
Author
Owner

There has been no response as yet, @roybinhood what other players would you recommend?

There has been no response as yet, @roybinhood what other players would you recommend?
scottschiller commented 2016-04-21 14:06:02 +00:00 (Migrated from github.com)
Author
Owner

Pardon late follow-up, here.

Are you using gzip with your MP3 or other binary assets? That is likely to cause issues with iOS playback now. Any HTML5 players may have this.
https://github.com/scottschiller/SoundManager2/issues/130#issuecomment-212935021

Pardon late follow-up, here. Are you using gzip with your MP3 or other binary assets? That is likely to cause issues with iOS playback now. Any HTML5 players may have this. https://github.com/scottschiller/SoundManager2/issues/130#issuecomment-212935021
roybinhood commented 2016-04-22 08:49:53 +00:00 (Migrated from github.com)
Author
Owner

Out of interest I dont know if this is possible but it would be really cool !!! Just like Sound cloud !!!

Demo
http://codecanyon.net/item/zoomsounds-neat-html5-audio-player/full_screen_preview/4525354

Software :-)
http://codecanyon.net/item/zoomsounds-neat-html5-audio-player/4525354

Out of interest I dont know if this is possible but it would be really cool !!! Just like Sound cloud !!! Demo http://codecanyon.net/item/zoomsounds-neat-html5-audio-player/full_screen_preview/4525354 Software :-) http://codecanyon.net/item/zoomsounds-neat-html5-audio-player/4525354
roybinhood commented 2016-04-22 08:53:41 +00:00 (Migrated from github.com)
Author
Owner

You can also play Video to side of audio ... Wow

You can also play Video to side of audio ... Wow
Author
Owner

Well since this error is not related to the player, I would suggest first trying to turn gzip off in Joomla. Under [Global Configuration => Server => Gzip Page Compression] and lets test again.

Well since this error is not related to the player, I would suggest first trying to turn gzip off in Joomla. Under [Global Configuration => Server => Gzip Page Compression] and lets test again.
roybinhood commented 2016-04-22 11:50:31 +00:00 (Migrated from github.com)
Author
Owner

The only problem with that is firstly cache is already turned off for the extension and now gzip... That will mean two important areas of joomla functionality in the area of site speed wouldn't work anymore ( ie have to be turned off ) to use the extension ??

The only problem with that is firstly cache is already turned off for the extension and now gzip... That will mean two important areas of joomla functionality in the area of site speed wouldn't work anymore ( ie have to be turned off ) to use the extension ??
Author
Owner

Roy if the issue is gzip I will try and isolate the component from the global implementation.

Secondly the player you suggested is a player that must be paid for. We will not use any software in sermon distributor that users must pay for.

Please read the response from the SoundManager lead developer. You will see that this issue is not with the player but with the Joomla implementation of Gzip.

So if we can test and see if the problem resolves when turning of gzip atleast we know what this issue is and I can try writing a script to isolate the download feature from gzip.. not sure if I can but I will try.

Roy if the issue is gzip I will try and isolate the component from the global implementation. Secondly the player you suggested is a player that must be paid for. We will not use any software in sermon distributor that users must pay for. Please read the response from the SoundManager lead developer. You will see that this issue is not with the player but with the Joomla implementation of Gzip. So if we can test and see if the problem resolves when turning of gzip atleast we know what this issue is and I can try writing a script to isolate the download feature from gzip.. not sure if I can but I will try.
roybinhood commented 2016-04-22 12:08:15 +00:00 (Migrated from github.com)
Author
Owner

The only one player I suggested in case you were interested if you read the basic fine print you will find the user does not have to pay for at all. You pay once $40 and then your clients as many as you want can have it for free !! I am sorry I did not make that clear and that you did not see the developers license. I apologize !

The only one player I suggested in case you were interested if you read the basic fine print you will find the user does not have to pay for at all. You pay once $40 and then your clients as many as you want can have it for free !! I am sorry I did not make that clear and that you did not see the developers license. I apologize !
Author
Owner

Okay so are you sponsoring the player?

Okay so are you sponsoring the player?
roybinhood commented 2016-04-22 12:15:35 +00:00 (Migrated from github.com)
Author
Owner

If you dont have the money I would save up :-), but seriously when you asked for suggestions above I took an hour or two and looked arround ... I am sorry I found a pay version and I am aware sound cloud might not be your style. If it is there should be a free versions somewhere. I like the idea of a circle round player for say a list of sermons and a sound cloud like player on a single player page . :-) Here is lisense page http://codecanyon.net/licenses/standard . Your extension is truly amazing and has already made my site 10 times better !!! which has made me very happy and I personally think it lacks only a proper search option to make it equal to the best audio extensions in the world , but something similar to soundcloud's player in my own little opinion would make it not only equal to the best extensions but give it a huge edge over blessed sites like www.sermonaudio.com's player for instance and make it perhaps the best in the world. This is my opinion however and you know so much more than me. However I have asked around and people seriously seriously like the sound cloud functionality and look etc. It is something millions of people understand.

If you dont have the money I would save up :-), but seriously when you asked for suggestions above I took an hour or two and looked arround ... I am sorry I found a pay version and I am aware sound cloud might not be your style. If it is there should be a free versions somewhere. I like the idea of a circle round player for say a list of sermons and a sound cloud like player on a single player page . :-) Here is lisense page http://codecanyon.net/licenses/standard . Your extension is truly amazing and has already made my site 10 times better !!! which has made me very happy and I personally think it lacks only a proper search option to make it equal to the best audio extensions in the world , but something similar to soundcloud's player in my own little opinion would make it not only equal to the best extensions but give it a huge edge over blessed sites like www.sermonaudio.com's player for instance and make it perhaps the best in the world. This is my opinion however and you know so much more than me. However I have asked around and people seriously seriously like the sound cloud functionality and look etc. It is something millions of people understand.
Author
Owner

Thank you so much Roy, sorry if it sounded that I don't appreciated your afford, I really do 💯

I will look at it again.

Thank you so much Roy, sorry if it sounded that I don't appreciated your afford, I really do :100: I will look at it again.
roybinhood commented 2016-04-22 12:21:33 +00:00 (Migrated from github.com)
Author
Owner

I edited my previous comment twice ... Did you see that ? :-)

I edited my previous comment twice ... Did you see that ? :-)
Author
Owner

Just a side note... what do you think

Just a side note... what do you think
Author
Owner

oops wrong button.. I was going to say what do you think about jPlayer?

oops wrong button.. I was going to say what do you think about [jPlayer](http://jplayer.org/)?
roybinhood commented 2016-04-22 12:30:55 +00:00 (Migrated from github.com)
Author
Owner

Jplayer is a very very very good perfectly alright above par player... I like the round player version as you ( unlike the present player) can chose exactly where you are in sermon playing... To be equal to the 'best' sermon audio site players it is great !!! To be better than the best like a good old pharisee I would do either the jplayer circle or similar I ( like the pay :-( link) above which has a circle option two. and in single sermons I would go with a bigger player like soundcloud, but hey jplayer for both I think if way better than the present player which does not allow you to chose where you are in the sermon etc and jplyer circle version does look rather nice :-)

Jplayer is a very very very good perfectly alright above par player... I like the round player version as you ( unlike the present player) can chose exactly where you are in sermon playing... To be equal to the 'best' sermon audio site players it is great !!! To be better than the best like a good old pharisee I would do either the jplayer circle or similar I ( like the pay :-( link) above which has a circle option two. and in single sermons I would go with a bigger player like soundcloud, but hey jplayer for both I think if way better than the present player which does not allow you to chose where you are in the sermon etc and jplyer circle version does look rather nice :-)
Author
Owner

I tested the old player with all gzip disabled and it still has the same error.

I know it is not due to the files quality since it is doing it with all the files. So @roybinhood I will remove the old player and add the new player soon.

We will use zoomsounds-neat-html5-audio-player that you suggested.

I tested the old player with all gzip disabled and it still has the same error. I know it is not due to the files quality since it is doing it with all the files. So @roybinhood I will remove the old player and add the new player soon. We will use [zoomsounds-neat-html5-audio-player](http://codecanyon.net/item/zoomsounds-neat-html5-audio-player/full_screen_preview/4525354) that you suggested.
roybinhood commented 2016-04-30 07:21:51 +00:00 (Migrated from github.com)
Author
Owner

Lewellyn. Did you know you are amazing and awesome and great ( not fat but really great etc) . This extension has so much potential it is scary !!! Obviously there will be some small bugs and limitations like lack of search initially, but over time I think personally it is going to become the greatest Media component joomla ever had for audio and eventually Video. I will some time do an afrikaans translation for our www.preke.net site and give that over to you. I have no words for how amazing you are.( All glory to God)

Lewellyn. Did you know you are amazing and awesome and great ( not fat but really great etc) . This extension has so much potential it is scary !!! Obviously there will be some small bugs and limitations like lack of search initially, but over time I think personally it is going to become the greatest Media component joomla ever had for audio and eventually Video. I will some time do an afrikaans translation for our www.preke.net site and give that over to you. I have no words for how amazing you are.( All glory to God)
Author
Owner

Houston we have a problem!

I have been working tru the zoomsound (files) and I tell you their script has huge danger in it all over. It is very badly written and I don't trust it. They are obviously targeting those who know nothing of programming. I am so sorry... but adding that script to anyones server can be a major security risk. They use the POST function in php all over the place and saves data to your db and to your server in a very careless way. Not sanitizing the data or taking huge precaution to cross site attacks, really not good. Even more since it is has tones of code, and you don't know what more is hiding away somewhere. Sloppy coding at its best. Sure we could make it work, but we will also weaken the whole security of our sites. So I just can't use it.

I have found some other scripts that could work in giving us the same result when it comes to the wave image files, really a very nice little script that is short and sweet, also looks safe.

I will be looking to get a player that can do what we need, but this is going to take longer then I anticipated, so plan B.

The files don't play in an iPhone, and solving that must be our first priority.

I will possibly using jPlayer initially to just get thing working. Then we will take it further.

@roybinhood I hope you understand, I am just not having peace about zoomsound even though I really like its look and feel.

Did you know that soundmanager has all these options?

Then jPlayer has this nice skin let me know what you think. It it just a basic player but it works well and dynamic.

Okay so I will keep you posted, next up jPlayer to make sure the problem is related to the player and not the actual files.

**Houston we have a problem!** I have been working tru the [zoomsound](http://codecanyon.net/item/zoomsounds-neat-html5-audio-player/full_screen_preview/4525354) (files) and I tell you their script has huge danger in it all over. It is very badly written and I don't trust it. They are obviously targeting those who know nothing of programming. I am so sorry... but adding that script to anyones server can be a major security risk. They use the POST function in php all over the place and saves data to your db and to your server in a very careless way. Not sanitizing the data or taking huge precaution to cross site attacks, really not good. Even more since it is has tones of code, and you don't know what more is hiding away somewhere. Sloppy coding at its best. Sure we could make it work, but we will also weaken the whole security of our sites. So I just can't use it. I have found some other scripts that could work in giving us the same result when it comes to the [wave image files](https://github.com/afreiday/php-waveform-png), really a very nice little script that is short and sweet, also looks safe. I will be looking to get a player that can do what we need, but this is going to take longer then I anticipated, so plan **B**. ### The files don't play in an iPhone, and solving that must be our first priority. I will possibly using [jPlayer](http://jplayer.org/) initially to just get thing working. Then we will take it further. @roybinhood I hope you understand, I am just not having peace about _zoomsound_ even though I really like its look and feel. Did you know that soundmanager has [all these options](http://www.schillmania.com/projects/soundmanager2/demo/bar-ui/)? Then jPlayer has [this nice skin](http://pupunzi.com/mb.components/mb.miniAudioPlayer/demo/demo.html) let me know what you think. It it just a basic player but it works well and dynamic. Okay so I will keep you posted, next up [jPlayer](http://jplayer.org/) to make sure the problem is related to the player and not the actual files.
Author
Owner

I have added the new player, but it seems like the audio still only plays a short part of the audio and then restarts even in jPlayer.

see http://www.hisekklesia.org/a/sermon/love-with-shoes-on

I have added the new player, but it seems like the audio still only plays a short part of the audio and then restarts even in jPlayer. see http://www.hisekklesia.org/a/sermon/love-with-shoes-on
roybinhood commented 2016-07-01 14:30:48 +00:00 (Migrated from github.com)
Author
Owner

Unconnected info , but did you know that sermon file above ... The guy died and his wife is compiling a book of his missionary stories and www.conjurskepublications is publishing it...

But on a more serious note ... I love the extension :-)

Unconnected info , but did you know that sermon file above ... The guy died and his wife is compiling a book of his missionary stories and www.conjurskepublications is publishing it... But on a more serious note ... I love the extension :-)
roybinhood commented 2016-07-01 14:36:28 +00:00 (Migrated from github.com)
Author
Owner

Dear Kind Sermon Distributer - Skins a) Which audio player did you use so I can look at options of skins if I may :-) b) Is it possible to add the wave thingy to the player you have used or does it require a new player c) Is it possible to put the player in the playlist section as well or another smaller one that looks nice too ?

Dear Kind Sermon Distributer - Skins a) Which audio player did you use so I can look at options of skins if I may :-) b) Is it possible to add the wave thingy to the player you have used or does it require a new player c) Is it possible to put the player in the playlist section as well or another smaller one that looks nice too ?
roybinhood commented 2016-07-01 15:01:38 +00:00 (Migrated from github.com)
Author
Owner

Is there a way of having a button that recognizes apple devices and simply uses another player for those devices until this is fixed... even if it is a simple player that works ? and could this not be due to the link name changing every so often ?

Is there a way of having a button that recognizes apple devices and simply uses another player for those devices until this is fixed... even if it is a simple player that works ? and could this not be due to the link name changing every so often ?
Author
Owner

Hi @roybinhood

The solution to the playing the full audio on an iPhone seems to be direct links to the audio files. As you know the links are encrypted and then the iPhone does not play the whole file in the player. I just tested it in both players on iPhone as a Direct link and it solved the issue.

You can check for your self at the following link: http://www.hisekklesia.org/a/sermon/love-with-shoes-on

This means we can look at the method of encryption and try to improve it, so as to insure that the issue gets resolved.

Yet as a temp fix you can change all links to the direct option in the files tab of each audio file. There is a way to update all files with a little sql string:

UPDATE `#__sermondistributor_sermon` SET link_type = 2;

Just update the #_ with the prefix of your database.

Soon as I have the encryption fixed for iPhone I will update this thread.

Hi @roybinhood The solution to the playing the full audio on an iPhone seems to be direct links to the audio files. As you know the links are **encrypted** and then the iPhone does not play the whole file in the player. I just tested it in both players on iPhone as a **Direct** link and it solved the issue. You can check for your self at the following link: http://www.hisekklesia.org/a/sermon/love-with-shoes-on This means we can look at the method of encryption and try to improve it, so as to insure that the issue gets resolved. Yet as a temp fix you can change all links to the direct option in the files tab of each audio file. There is a way to update all files with a little sql string: ``` UPDATE `#__sermondistributor_sermon` SET link_type = 2; ``` Just update the `#_` with the prefix of your database. Soon as I have the encryption fixed for iPhone I will update this thread.
Author
Owner
This looks like the answer to our problem: https://mobiforge.com/design-development/content-delivery-mobile-devices
roybinhood commented 2016-07-18 03:14:32 +00:00 (Migrated from github.com)
Author
Owner

Wow That looks good !!!!!

Wow That looks good !!!!!
roybinhood commented 2016-07-18 03:14:42 +00:00 (Migrated from github.com)
Author
Owner

You are clever !!!

You are clever !!!
Author
Owner

So at this point I am think to avoid loading a player on iPhone and other smart devises but instead add the link to play the audio in the devices own player instead.

So at this point I am think to avoid loading a player on iPhone and other smart devises but instead add the link to play the audio in the devices own player instead.
roybinhood commented 2016-07-18 14:29:30 +00:00 (Migrated from github.com)
Author
Owner

Wow

Wow
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: christian/Joomla-Sermon-Distributor#17
No description provided.