Page does not output audio file

halu…

another newbie on kirby guys, and im enjoying so far.
im trying to install html5 audio plugin but somehow its doesnt works.
can someone give me complete steps to use this plugins, please.

in addition, this url below ive been tested :
http://dit.web.id/k/blog/tes-audio

thank you, guys…

Looks like you are not using the kirbytext method on your text?

<?php echo $page->text()->kirbytext() ?>

or whatever your field is called.

If you need support with plugins, pls. always provide a link to the plugin you are referring to.

Other than that, the files in site/tags need to go into site/tags, site/plugins into site/plugins and site/snippets into /site/snippets

halu…

im sorry for incomplete details. this is the plugin im talkin about :
http://getkirby-plugins.com/html5-audio

i have downloaded the zip file and distributed all of em based on names :


/home/username/public_html/kirby-folder/site/

in addition, i did modified /home/username/public_html/kirby-folder/site/config/config.php :
c::set(‘kirby.extension.audioext.snippet_name, audioext’);
c::set(‘kirby.extension.audioext.controls’, true);

and finally tested it by posted new page with this code below :
(audioext mp3: skatebored-stinky-mungkinkah.mp3)
(audio mp3: skatebored-stinky-mungkinkah.mp3)

ps : i did uploaded the mp3 file called skatebored-stinky-mungkinkah.mp3


to be honest, i still dont know what is kirbytext :blush:

please advise. thank you…

How do you output the text that contains the audio tag in your template?

halu…

nothin but these code below :
(audioext mp3: skatebored-stinky-mungkinkah.mp3)
(audio mp3: skatebored-stinky-mungkinkah.mp3)


i still dont know what is or which one template file you asked for.
please advise the path of the file.

What you posted is your content, we need your template. It is located inside site/templates and named after your page blueprint (something like blogpost.php).

halu…

these are the file inside those locations.

site/templates :
blog.php
default.php
feed.php
home.php
post.php

site/blueprints :
blog.php
default.php
error.php
home.php
post.php
projects.php
site.php


which one you need the detail?

Well, how did you develop your site, we can’t possibly know which templates outputs the data you are displaying on the page you linked to? From the URL structure, I would think it is probably post.php in site/templates.

halu…

i just did tried another plugin called reading time and finally find out how to use it.
https://github.com/getkirby/plugins/tree/master/readingtime

each article now showing estimated reading time.
the readme quite helpful and your clues also, guys.

i put this code below on site/templates/post.php :
Estimated reading time : <?php echo $page->text()->readingtime() ?>

<?php echo $page->text()->kirbytext() ?>

but then again, i still no luck for html5audio plugin so far :disappointed: