Lost my html code in OUR MUSIC LIVE MODULE

More
12 years 1 month ago - 12 years 1 month ago #33638 by clasvard
Hi, I've totally messed up in the Our Music Live Module and it's now totally empty. :ohmy:
Please reply with correct html code so I can start to edit for my own songs.

When i type in the following code in the html editor it deletes it after saving. Why?
My audiofiles are placed in right subfolder.

<audio controls>
<source src="images/music/songname1.ogg" type="audio/ogg" />
<source src="images/music/songname1.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>


This is what it only looks like after saving...

<!-- song 1 -->
<div class="song_name">Songname</div>
<div class="buy_song"><a href=" www.itunes.com ">BUY

<div class="audio_player">Your browser does not support the audio element.</div>

<!-- song 2 -->


Kindest regards,
CV
Last edit: 12 years 1 month ago by clasvard.

Please Log in to join the conversation.

More
12 years 1 month ago - 12 years 1 month ago #33649 by ivan.milic
Go to editor plugin settings (TinyMCE is joomla default if you chnage it then look at active editor settings page) and explicitly allow audio and source elements. Also turn off text filters in joomla global configuration
Last edit: 12 years 1 month ago by ivan.milic.

Please Log in to join the conversation.

More
12 years 1 month ago #33733 by clasvard
Great, thanxs! Now it works, but the entire playbutton or playbar is not visible. (Nor on my page as your own template demo) See my screendumps. How to fix that?

Please Log in to join the conversation.

More
12 years 1 month ago #33741 by ivan.milic
Did you provided both mp3 and ogg format version <source> tags?

Please Log in to join the conversation.

More
12 years 1 month ago #33743 by clasvard
Yes, the music player works but it looks a litte bit weird.

Please Log in to join the conversation.

More
12 years 1 month ago #33752 by ivan.milic
You use old IE?

Please Log in to join the conversation.

Time to create page: 0.183 seconds
Powered by Kunena Forum