Keyword

No player for local audio files

  • Anaïs Equey
  • Anaïs Equey's Avatar Topic Author
  • Offline
  • New Member
More
6 years 10 months ago #162339 by Anaïs Equey
No player for local audio files was created by Anaïs Equey
Hi,
Since I upgraded from Joomla 2.5 to Joomla 3.7.1, I have noticed that all my {mp3} links don't show anything else than a blank box. Everything else works on my website.
  • The download links work if I enable the option.
  • The {youtube} links work too.
  • I had the version 4.7.0 installed. Before updating to the dev version (4.8.0), it displayed the same error as on this tread: www.joomlaworks.net/forum/k2-en/42257-allvideos-quicktime-error
  • Now that I have the latest dev version (4.8.0) installed, it's still not working, but I get no error at all.
  • Same on Chrome and Firefox
  • My files are in /images/audio
  • I have tried to change my template to a default one and to disable most of my recent modules, it didn't change anything (but I can try that further maybe).

Any idea what is going on?
You can see the problem here: intra-science.anaisequey.com/index.php?option=com_content&view=article&id=365

Thank you for your time.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162346 by Krikor Boghossian
Replied by Krikor Boghossian on topic No player for local audio files
The link to the audio file is intra-science.anaisequey.com/images/audio/son-ecureuil.mp3 which is accessible.

Can you try with a different mp3 file?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Anaïs Equey
  • Anaïs Equey's Avatar Topic Author
  • Offline
  • New Member
More
6 years 10 months ago #162355 by Anaïs Equey
Replied by Anaïs Equey on topic No player for local audio files
Yes, I added {mp3}ronrons{/mp3} on the same page: intra-science.anaisequey.com/index.php?option=com_content&view=article&id=365
Still no player, and no error. Although the file exists: intra-science.anaisequey.com/images/audio/ronrons.mp3

(I also added a mp4 video {mp4}temperature{/mp4}. The player shows up, but with no content)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162369 by Krikor Boghossian
Replied by Krikor Boghossian on topic No player for local audio files
When I try to browse the site using the protostar template I get
"403 - This request is blocked by Admin Tools. Please change this message in the component's options."

Can you disable this security feature (just for the time being).

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Anaïs Equey
  • Anaïs Equey's Avatar Topic Author
  • Offline
  • New Member
More
6 years 10 months ago #162371 by Anaïs Equey
Replied by Anaïs Equey on topic No player for local audio files
Thank you for your help, I appreciate.
I've allowed "template=" in the website URL on Admin Tools settings, so it should work now.
Let me know if you need anything else.

Please Log in or Create an account to join the conversation.

  • Anaïs Equey
  • Anaïs Equey's Avatar Topic Author
  • Offline
  • New Member
More
6 years 10 months ago #162453 by Anaïs Equey
Replied by Anaïs Equey on topic No player for local audio files
It is confusing that there is no error, nothing, and that the code for the player does appear on the page. I don't understand why it is not showing up.
I've tried disabling most components, plugins and modules, but I can't see what would be responsible for that. The page is almost empty: intra-science.anaisequey.com/index.php?option=com_content&view=article&id=365&template=protostar

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162467 by Krikor Boghossian
Replied by Krikor Boghossian on topic No player for local audio files
The encoding for the mp4 file is not correct.
intra-science.anaisequey.com/images/videos/temperature.mp4 can't be played by the browser. Make sure to use the h.264 encoding.

As for the mp3's can you try with a remote file?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Anaïs Equey
  • Anaïs Equey's Avatar Topic Author
  • Offline
  • New Member
More
6 years 10 months ago #162473 by Anaïs Equey
Replied by Anaïs Equey on topic No player for local audio files
You are right, the video was indeed broken. I'm not using videos apart from the youtube ones (which are working), but I uploaded two of them as examples. So here is the new code:
{mp3}ronrons{/mp3}
{mp3remote}http://www.mfiles.co.uk/mp3-downloads/moonlight-movement1.mp3{/mp3remote}
{mp4}fish3{/mp4}
{mpg}m84_1{/mpg}
{youtube}6W9J8FsnwEA{/youtube}

You can see the result on this page: intra-science.anaisequey.com/index.php?option=com_content&view=article&id=365&template=protostar
PLEASE NOTE that when you access the page, you will be prompt to download the mpg video (sorry for that). Of course the file itself is not dangerous.
The remote mp3 sound will expire in 24 hours, just to let you know.

It seems that only the youtube video is displayed properly. The video player either doesn't show up at all (same as for the sounds), or just as a black screen. Still no relevant errors, but maybe you know where to look?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162486 by Krikor Boghossian
Replied by Krikor Boghossian on topic No player for local audio files
I think I found it, and thank you for bearing with me :)

Can you try removing these lines
github.com/joomlaworks/allvideos/blob/master/plugin/jw_allvideos/includes/sources.php#L47

github.com/joomlaworks/allvideos/blob/master/plugin/jw_allvideos/includes/sources.php#L62

The file is located at: plugins/content/jw_allvideos/includes/sources.php

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Anaïs Equey
  • Anaïs Equey's Avatar Topic Author
  • Offline
  • New Member
More
6 years 10 months ago #162508 by Anaïs Equey
Replied by Anaïs Equey on topic No player for local audio files
Hi Krikor,

I know how thankless it can be to be the one responding on a forum and solving problems for free. So we should be the ones thanking you for your hard work and patience.

I removed the lines you mentioned and the players just disappeared completely (not even the white boxes left). It returns two javascript errors though (Uncaught TypeError: jwplayer(...).setup is not a function).

intra-science.anaisequey.com/index.php?option=com_content&view=article&id=365&template=protostar

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum