-
AuthorPosts
-
kastoro Friend
kastoro
- Join date:
- May 2017
- Posts:
- 40
- Downloads:
- 3
- Uploads:
- 20
- Thanks:
- 7
- Thanked:
- 7 times in 6 posts
June 7, 2017 at 7:54 pm #1040427Hi,
I add standard html5 audio to my intro text but it wrote it isn’t support html5 audio show. Please add possibilities to show standard html 5 audio in search result intro text. Thank you! Best regards Kastoro
- This topic was modified 7 years, 6 months ago by kastoro.
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
June 8, 2017 at 8:06 am #1040603Hi,
Our developer will investigate on this and may add some customization. But you must be aware that, to show HTML 5, all content Intro text will be shown ( as they won’t be cut shorter) and it will lead to slow down Speed Loading of your site.
1 user says Thank You to Luna Garden for this useful post
kastoro Friendkastoro
- Join date:
- May 2017
- Posts:
- 40
- Downloads:
- 3
- Uploads:
- 20
- Thanks:
- 7
- Thanked:
- 7 times in 6 posts
June 8, 2017 at 1:52 pm #1040713But you must be aware that, to show HTML 5, all content Intro text will be shown ( as they won’t be cut shorter) and it will lead to slow down Speed Loading of your site.
Yes I know.I wait this options much.
Thanks!kastoro Friendkastoro
- Join date:
- May 2017
- Posts:
- 40
- Downloads:
- 3
- Uploads:
- 20
- Thanks:
- 7
- Thanked:
- 7 times in 6 posts
June 8, 2017 at 1:52 pm #1040714But you must be aware that, to show HTML 5, all content Intro text will be shown ( as they won’t be cut shorter) and it will lead to slow down Speed Loading of your site.
Yes I know.
I wait this option much. Thanks!
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
June 9, 2017 at 11:08 am #1040948Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
June 12, 2017 at 8:29 am #1041307Hi.
You could try this.
Edit the file : plugins/jamegafilter/content/helper.php
Change
$item->desc = !empty($baseItem->introtext) ? $this->getDesc($baseItem->introtext).'...' : '';
To
$item->desc = $baseItem->introtext;
And index again. It will show all the content of introtext.
- This reply was modified 7 years, 6 months ago by Saguaros.
kastoro Friendkastoro
- Join date:
- May 2017
- Posts:
- 40
- Downloads:
- 3
- Uploads:
- 20
- Thanks:
- 7
- Thanked:
- 7 times in 6 posts
June 13, 2017 at 8:34 pm #1041663Hi,
I try it but it didn’t work, only show the full intro in code view (see attachment). Naturally if you open the article html5 audio works perfectly.
Otherwise I try this way also, in theory it show full intro with normal view (not code view) but it didn’t work with it too.
/srv/www/htdocs/plugins/jamegafilter/helper.php
Line 129
From$item->desc = !empty($baseItem->introtext) ? strip_tags(substr($baseItem->introtext,0,100)).'...' : '';
To
$item->desc = !empty($baseItem->introtext) ? strip_tags(substr($baseItem->introtext,0)).'' : '';
Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
June 14, 2017 at 7:13 am #1041775Hi.
You could try this with solution above.
Edit the file : components/com_jamegafilter/assets/js/libs.js
Edit the line: 299
h: function(value) { return dust.escapeHtml(value); },
Change to
h: function(value) { return value },
kastoro Friendkastoro
- Join date:
- May 2017
- Posts:
- 40
- Downloads:
- 3
- Uploads:
- 20
- Thanks:
- 7
- Thanked:
- 7 times in 6 posts
June 14, 2017 at 10:16 am #1041803Seems perfect thank you!
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 8 replies, has 3 voices, and was last updated by kastoro 7 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
HTML5 audio not appear in search results
Viewing 9 posts - 1 through 9 (of 9 total)