SMFHacks.com

Modifications/Themes => General SMF Forum => Topic started by: johannes47 on March 10, 2017, 05:09:42 am

Title: audio into downloadsystem
Post by: johannes47 on March 10, 2017, 05:09:42 am
<audio controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="http://localhost:8080/test.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>

I had a question: if I link it applicable in the forum works, but not download, what I'm doing wrong, do nothing there anymore. Should I change something because wants to hear a sample in download systems. Can you help me, what should I do to make this.

Greetings Johannnes
Title: Re: audio into downloadsystem
Post by: SMFHacks on March 10, 2017, 08:46:57 am
Where are you putting that information? In the description?
Title: Re: audio into downloadsystem
Post by: johannes47 on March 10, 2017, 09:50:20 am
Hey,

I place this code in the picture see, it does not work. But I put in a new topic on smfforum he works.
Why it does not work in downloads?
Am I doing something wrong or do I need to put something in a script?

(http://i67.tinypic.com/2s0yg6s.jpg)


Johannes
Title: Re: audio into downloadsystem
Post by: SMFHacks on March 10, 2017, 12:31:14 pm
I belive html tags are stripped out of the description boxes we use smf's htmlspecialchars function on add/edit for the downloads
Title: Re: audio into downloadsystem
Post by: johannes47 on March 10, 2017, 04:01:15 pm
hello,

Thanks for your reply, but how can I fix this for anyway to enjoy it that it is possible. Can you give me on that information?

Johannnes
Title: Re: audio into downloadsystem
Post by: SMFHacks on March 11, 2017, 03:40:06 pm
It would be removing the htmlspecialchars function I think but I am not sure about the html tags if they will work or not.
html ags only work right now in SMF for admins only so not sure.
Title: Re: audio into downloadsystem
Post by: johannes47 on March 14, 2017, 12:15:33 pm
Hello ,  I have found it , it's working now,

Thank you voor helping me.

Johannes