Hi I bought a html 5 audio player bit of code and uploaded it to the server and works fine in html page but trying to put into the cms site with a template is another mater.
I need to copy over code to put in the head and body tags.
Would I be correct that the html would go into the template?
so copy the template and put it into that.
Is the JavaScript ok in the head tag or does need to go into page metatags?
Been unable to find a module that can play mp3 files as a playlist and is cross browser compatible and can play on android and apple os.
This player does all that and has flash fallback but no joy getting it to work in the cms.
Any help would be very gratefully received
Jamski
hmtl 5 audio player
Re: hmtl 5 audio player
Add it to the template just like any other html page, if the code wants to be in the <head> at it there if it needs to be in the body add it there, CMSMS uses HTML just like flat files with the exception of {metadata},{menu}, {content}, etc. tags, you would use the page metadata if you only need it on that specific page...
Re: hmtl 5 audio player
Also don't forget
Code: Select all
{literal}to put javascript in literal tags like this{/literal}Re: hmtl 5 audio player
As of 1.11 you no longer need to use {literal} for code that uses { } in it...
http://forum.cmsmadesimple.org/viewtopi ... =1&t=62146
http://forum.cmsmadesimple.org/viewtopi ... =1&t=62146
Re: hmtl 5 audio player
Ah, thank you Dr.CSS.



