solved timeline error

Dazed
Dazed
@dazed
11 years ago
1,022 posts
When creating a blog with an embedded audio player I am getting the below in the timeline. In this example I am embedding all songs from an artist.

jpg
 •  19KB


updated by @dazed: 10/05/14 12:35:58PM
brian
@brian
11 years ago
10,148 posts
This is the blog text being "truncated" for the timeline, but it's truncating in the middle of the embed player code, so it's breaking it. This has been an issue in some other areas, so it will likely need to have HTML stripped in the timeline, I'll check it out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
There's a lot more pieces involved here than it may seem on the surface, but this should look better now. I've just pushed updates to the Playlist and Blog modules that do the following:

- the playlist player templates have been updated to remove extra "text" strings that were found in the playlist that were not visible EXCEPT if the HTML was stripped.

- the blog "item_action.tpl" file was updated to use jrCore_strip_html instead of strip_tags, since strip_tags does not actually strip Javascript from between script tags.

Combined this will now properly strip the player HTML from the action update and leave the blog post text showing.

There are similar updates for the Audio and Video modules I'll be releasing as well.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 08/25/14 11:12:02AM
Dazed
Dazed
@dazed
11 years ago
1,022 posts
Thanks Brian. I will get this updated asap.